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.
persiscal/binance 适用场景与选型建议
persiscal/binance 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 12 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 persiscal/binance 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 persiscal/binance 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-20