persiscal/binance
Composer 安装命令:
composer require persiscal/binance
包简介
Binance Merchant Acquiring (C2B) integration made for Laravel 8.
README 文档
README
Laravel Binance C2B integration
Binance Merchant Acquiring (C2B) integration made for Laravel 8.
Getting started
This integration covers the next API functions:
This integration complies with the protocol rules and generates the requests headers as specified by Binance.
Installation
To start using the integration in your project you have to:
- Install the composer package using
composer require persiscal/binance. - Configure your .env with the .env variables, replacing the default BINANCE_KEY and BINANCE_SECRET with your Binance C2B credentials.
- Configure your web routes as in the web routes.
- (Optional) Configure the binance-api successRouteName, cancelRouteName and webhookRouteName if needed.
Testing
This package contains two commands.
The first one will return the balance of the account.
php artisan binance:get-balance
The latter one may help to test and troubleshoot the creation, querying and closing of a test order.
php artisan binance:test-order
Support
If you're having an issue or you find a bug, feel free to send me an email to gcampana@persiscal.com.
Roadmap
Contributing
Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.
- Fork the repo on GitLab
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
Authors
- Gaston Campana Piarrou - Member of Persiscal
Aknowledgement
- Nonce string generation made by Monyancha
- HandlesResponseErrors trait inspired on TechTailor
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-20