finller / laravel-cashier-connect
该包已被废弃,不再维护。没有建议的替代包。
Laravel Cashier 提供了 Stripe 订阅计费服务的表达式丰富、流畅的接口。
v14.13.1
2023-11-19 19:18 UTC
Requires
- php: ^8.0
- ext-json: *
- illuminate/console: ^9.21|^10.0
- illuminate/contracts: ^9.21|^10.0
- illuminate/database: ^9.21|^10.0
- illuminate/http: ^9.21|^10.0
- illuminate/log: ^9.21|^10.0
- illuminate/notifications: ^9.21|^10.0
- illuminate/pagination: ^9.21|^10.0
- illuminate/routing: ^9.21|^10.0
- illuminate/support: ^9.21|^10.0
- illuminate/view: ^9.21|^10.0
- moneyphp/money: ^4.0
- nesbot/carbon: ^2.0
- stripe/stripe-php: ^7.39|^8.0|^9.0|^10.0
- symfony/http-kernel: ^6.0
- symfony/polyfill-intl-icu: ^1.22.1
Requires (Dev)
- dompdf/dompdf: ^2.0
- mockery/mockery: ^1.0
- orchestra/testbench: ^7.0|^8.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.0
Suggests
- ext-intl: Allows for more locales besides the default "en" when formatting money values.
- dompdf/dompdf: Required when generating and downloading invoice PDF's using Dompdf (^1.0.1|^2.0).
README
简介
Laravel Cashier 提供了 Stripe 订阅计费服务的表达式丰富、流畅的接口。它处理了你所厌恶编写的大部分订阅计费代码。除了基本的订阅管理外,Cashier 还可以处理优惠券、订阅交换、订阅“数量”、取消宽限期,甚至生成发票 PDF。
官方文档
Cashier 的文档可以在 Laravel 网站 上找到。
贡献
感谢您考虑为 Cashier 做出贡献!您可以在 此处 阅读贡献指南。
行为准则
为了确保 Laravel 社区对所有成员都是友好的,请查阅并遵守 行为准则。
安全漏洞
请查看 我们的安全策略 了解如何报告安全漏洞。
许可证
Laravel Cashier 是开源软件,采用 MIT 许可证。
与 laravel/cashier-stripe 同步
添加远程仓库,命名为 "upstream"
git remote add upstream https://github.com/whoever/whatever.git
将远程的所有分支拉取到远程跟踪分支
git fetch upstream
确保您处于 master 分支
git checkout 14.x
重写您的 master 分支,以便将您的任何尚未在上游/master 中存在的提交重新播放到那个分支上
git rebase upstream/14.x