This package is an UNOFFICIAL API Wrapper for Bankly/Acesso API.
PHP >= 7.2 Laravel >= 7.x
You can install the package via composer:
composer require wedevbr/bankly-laravel
After install, just publish your config files:
php artisan vendor:publish --provider="WeDevBr\Bankly\BanklyServiceProvider"
First you need to set up your credentials. Define yours BANKLY_CLIENT_SECRET
and BANKLY_CLIENT_ID
at .env file.
You can also define scopes for your credentials, just define BANKLY_TOKEN_SCOPE
or enter them in config/bankly.php
. See more: Bankly Scopes
Tip: If you are running on Staging, you can set up Bankly endpoints also. Just define BANKLY_LOGIN_URL
and BANKLY_API_URL
variables.
Then, finally use:
//This is your statement
$statement = \Bankly::getStatement('0001', '123456');
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email adeildo@wedev.software instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.