hexters/coinpayment
Composer 安装命令:
composer require hexters/coinpayment
包简介
CoinPayment is a Laravel package for handling cryptocurrency transactions through CoinPayments.net (create transaction, transaction history, IPN, balances, withdrawals).
README 文档
README
Accept cryptocurrency payments in Laravel through CoinPayments.net. It gives you a Livewire checkout, live payment status, IPN handling, and an admin panel for balances, withdrawals, and transactions. This is the module CoinPayments points to for Laravel on their developer code page.
It uses the CoinPayments legacy v1 Merchant API.
Documentation
Full guides, configuration, and screenshots are on the docs site:
https://hexters.github.io/CoinPayment/
Install
composer require hexters/coinpayment php artisan coinpayment:install
Then generate a payment link and redirect to it:
use Hexters\CoinPayment\CoinPayment; return redirect(CoinPayment::generatelink([ 'order_id' => uniqid(), 'amountTotal' => 37.5, 'buyer_email' => 'buyer@mail.com', 'redirect_url' => url('/thank-you'), ]));
The full setup, the listener job, IPN, the admin panel, and every config option are covered in the documentation.
What you get
- A Livewire checkout with coin search, a QR code, and a copyable address
- A payment modal that updates in real time, with a countdown and partial-payment handling
- IPN verified with HMAC-SHA512, plus a
coinpayment:synccommand for when IPN cannot reach you - A gate-protected admin panel: balances with fiat values, withdrawals, and a searchable transactions table
- Runs on Laravel 11, 12 and 13 with no Node build step
Pricing
Free to use while you develop. On production and staging, a one-time license unlocks every coin on the checkout plus withdrawals and the detail views. See pricing or get a license.
Support
Found a bug or need help? Open an issue at github.com/hexters/CoinPayment/issues.
License
Source-available. Free to use and develop with locally; production and staging use of the premium features requires a paid license. © 2018-2026 Asep SS (hexters).
hexters/coinpayment 适用场景与选型建议
hexters/coinpayment 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 61.83k 次下载、GitHub Stars 达 70, 最近一次更新时间为 2018 年 03 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「bitcoin」 「payment gateway」 「cryptocurrency」 「Coinpayment」 「livewire」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 hexters/coinpayment 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hexters/coinpayment 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 hexters/coinpayment 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The BlockTrail PHP SDK, for integration of Bitcoin functionality through the BlockTrail API
CoinDesk Bitcoin Price Index API for Laravel
Alfabank REST API integration
phinance, binance API PHP client
pholoniex, poloniex API PHP client
Convertation from/to any user-defined base-chars-string throught decimal representation of arbitrary precision
统计信息
- 总下载量: 61.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 71
- 点击次数: 38
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-03-23
