creativemobile / asaas-sdk-laravel
Pacote de integração com api de pagamentos do Asaas.
v1.0
2022-05-11 04:04 UTC
Requires
- php: ^7.4 || ^8.0 || 8.1
- ext-json: *
- illuminate/console: ^6.0 || ^7.0 || ^8.0 || ^9.0
- illuminate/container: ^6.0 || ^7.0 || ^8.0 || ^9.0
- illuminate/support: ^6.0 || ^7.0 || ^8.0 || ^9.0
- jetimob/http-php-laravel: v1.4.0
Requires (Dev)
- orchestra/testbench: ^v6.18.0
- phpunit/phpunit: ^v9.5.5
README
Make sure to add ASAAS_ACCESS_TOKEN
to your .env
file to identify your account in every request.
ASAAS_ACCESS_TOKEN
is also referred asaccess_token
in the docs.
Installing
Using Composer:
$ composer require creativemobile/asaas-sdk-laravel
Publishing configurations
The command below will publish the configuration file to Laravel's config folder.
$ php artisan asaas:install
Config file
Usage
Import the API namespace and use it with: