Configuration
Configuration guide for FNE Client for your environment
Configuration
Once FNE Client is installed, you need to configure it for your environment. Configuration can be done via environment variables or a configuration file.
Environment Variables
Main Variables
Optional Variables
Configuration File
Laravel
The config/fne.php file is published during installation:
Symfony
For Symfony, configuration is done in config/packages/fne.yaml:
Native PHP
For native PHP, create a fne.php file at the root:
Custom Mapping Configuration
Custom mapping allows you to transform your ERP data structures to FNE format. See the ERP → FNE Mapping section for more details.
Cache Configuration
Laravel
Cache automatically uses the Laravel cache system:
Symfony
For Symfony, you can use the Symfony cache:
Native PHP
For native PHP, an in-memory cache is used by default. You can implement your own cache by implementing CacheInterface.
Logging Configuration
Laravel
Logging automatically uses the Laravel logging system:
Symfony
For Symfony, use Monolog:
Native PHP
For native PHP, you can implement your own logger by implementing LoggerInterface.
Configuration Verification
Laravel
Symfony
Next Steps
Once configuration is complete:
- Quick Start - Create your first certified invoice
- Guides - Learn how to use the different features
