- PHP 8.4 or higher
- Laravel 11.x or 12.x
- SAP Business One with Service Layer enabled
composer require ismaildasci/laravel-sapb1php artisan vendor:publish --tag="sap-b1-config"If you plan to use the database session driver:
php artisan vendor:publish --tag="sap-b1-migrations"
php artisan migrateFor high-concurrency scenarios with session pooling:
php artisan vendor:publish --tag="sap-b1-pool-migrations"
php artisan migrateAdd to your .env file:
SAP_B1_URL=https://your-sap-server:50000
SAP_B1_COMPANY_DB=YOUR_COMPANY_DB
SAP_B1_USERNAME=manager
SAP_B1_PASSWORD=your_password
SAP_B1_SESSION_DRIVER=filephp artisan sap-b1:status --testNext: Configuration