plazari15/laravel-fluig

Laravel Package for TOTVS Fluig REST Api. Compatible with Fluig >= 1.5.

1.0.3 2018-06-21 15:56 UTC

This package is not auto-updated.

Last update: 2024-04-19 22:01:01 UTC


README

stable

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 **

  1. just run this composer command
composer require plazari15/laravel-fluig
  1. Insert the provider at app\config.php
'Plazari15\LaravelFluig\LaravelFluigServiceProvider'
  1. Publish the config file
php artisan config:publish plazari15/laravel-fluig
  1. 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