seinoxygen / laravel-contabilium
A Laravel wrapper for Contabilium
v1.0.0
2022-11-18 10:49 UTC
Requires
- php: ^7.1|^8.0
- laravel/framework: ^6.0|^7.0|^8.0|^9.0
README
A Laravel wrapper for Contabilium.
Installation
Add Laravel Contabilium as a dependency using the composer CLI:
composer require seinoxygen/laravel-contabilium
Basic Usage
Add the following to your config/services.php and add the correct values to your .env file
'contabilium' => [ 'client_id' => env('CONTABILIUM_CLIENT_ID'), 'client_secret' => env('CONTABILIUM_CLIENT_SECRET'), 'country' => env('CONTABILIUM_COUNTRY', 'ar'), ],
If using < Laravel 5.5, add the ContabiliumServiceProvider to the providers array
'providers' => [ ... SeinOxygen\Contabilium\ContabiliumServiceProvider::class, ... ],
Next, in config/app.php, add the Contabilium to the aliases array
'aliases' => [ ... 'Contabilium' => SeinOxygen\Contabilium\Facades\Contabilium::class, ... ],
License
The MIT License (MIT). Please see License File for more information.