This is a package that turns easy the Communication between Laravel and TOTVS Fluig by REST API.
This is a package developed to Work with Laravel >= 4.2.
**To make a new installation **
- just run this composer command
composer require plazari15/laravel-fluig
- Insert the provider at
app\config.php
'Plazari15\LaravelFluig\LaravelFluigServiceProvider'
- Publish the config file
php artisan config:publish plazari15/laravel-fluig
-
Set your ENVs following the Totvs TDN
Env Sample
'FLUIGPHP' => array( 'FLUIG_CONSUMER_KEY'=>'', 'FLUIG_CONSUMER_SECRET'=>'', 'FLUIG_ACCESS_TOKEN'=>'', 'FLUIG_TOKEN_SECRET'=>'', 'FLUIG_CONSUMER_KEY_POST'=>'', 'FLUIG_CONSUMER_SECRET_POST'=>'', 'FLUIG_ACCESS_TOKEN_POST'=>'', 'FLUIG_TOKEN_SECRET_POST'=>'', 'FLUIG_URL'=>'' )
TODO
- Make Tests
- Make an new api to get and send attachments
- improve docs