Download the PHP package wedevbr/mati-laravel without Composer
On this page you can find all versions of the php package wedevbr/mati-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wedevbr/mati-laravel
More information about wedevbr/mati-laravel
Files in wedevbr/mati-laravel
Package mati-laravel
Short Description Mati library for Laravel
License MIT
Homepage https://github.com/wedevbr/mati-laravel
Informations about the package mati-laravel
Mati library for Laravel
Installation
You can install the package via composer:
After installed publish the config file:
Usage
Mati class can be accessed via facade, singleton or IoC container
A complete process looks like this:
Configuration
The recommended way to configure is to set the environment variables MATI_CLIENT_ID
and MATI_CLIENT_SECRET
. This way no further step is required to authorize for the verification. Additionally, MATI_AUTH_URL
and MATI_API_URL
can be set for test purposes.
If you don't want to use the environment to config, client ID and secret can be passed to the constructor of Mati
class instead, and the constructor will deal with authorization.
If you already have a valid access token, you can instantiate Mati
without build parameters and call the method setAccessToken
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.