Getting Started
Installation
Installation guide for FNE Client for Laravel, Symfony and native PHP
Installation
FNE Client can be installed in your PHP project in just a few minutes, regardless of your framework.
Prerequisites
- PHP 8.2 or higher
- Composer 2.0 or higher
- Laravel 11+ (if using Laravel)
- Symfony 7.4+ (if using Symfony)
Installation
Laravel 11+
The fne:install command launches an interactive wizard that:
- Automatically detects your Laravel environment
- Configures settings via interactive prompts
- Publishes configuration files
- Offers to install migrations (optional)
Symfony 7.4+
The fne:install command automatically configures:
- Services in
config/services.yaml - Parameters in
.env - Migrations (optional)
Native PHP
The installation creates a configuration file fne.php at the root of your project.
Configuration
Environment Variables
Add these variables to your .env file:
Configuration File (Laravel)
The config/fne.php file is published during installation:
Verifying Installation
Laravel
Symfony
Native PHP
Next Steps
Once installation is complete:
- Configuration - Configure the SDK for your environment
- Quick Start - Create your first certified invoice
Need help? Check out the complete documentation or open an issue on GitHub.
