Best2Pay API integration (including Laravel service provider)
composer require kozz/best2pay ~0.2
Package supports auto discovery for Laravel > 5.5
If you have Laravel <5.5, add service provider in configs/app.php
'providers' => [
/*
* Laravel Framework Service Providers...
*/
...
/*
* Application Service Providers...
*/
...
Kozz\Best2Pay\Laravel\Providers\Best2PayServiceProvider::class
],
You can also add Facade (configs/app.php
)
'aliases' => [
...
'Best2Pay' => Kozz\Best2Pay\Laravel\Facades\Best2PayFacade::class
],
Then run command (it will create config/best2pay.php
file)
php artisan vendor:publish