wedevbr/bankly-laravel
最新稳定版本:v1.49.0
Composer 安装命令:
composer require wedevbr/bankly-laravel
包简介
Bankly API Wrapper
README 文档
README
This package is an UNOFFICIAL API Wrapper for Bankly/Acesso API.
Requirements
PHP >= 7.2 Laravel >= 7.x
Installation
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"
Usage
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');
Testing
composer test
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 adeildo@wedev.software instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 12.78k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-22