duythien / cashier
Phalcon Cashier provides an expressive, fluent interface to Stripe's subscription billing services.
Requires
- php: >=5.5.9
- dompdf/dompdf: ^0.6.1
- nesbot/carbon: ~1.0
- stripe/stripe-php: ~3.0
Requires (Dev)
- codeception/codeception: 2.1.2
- squizlabs/php_codesniffer: 1.*
This package is not auto-updated.
Last update: 2025-01-30 02:47:53 UTC
README
Introduction
Phalcon Cashier provides an expressive, fluent interface to Stripe's subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier can handle coupons, swapping subscription, subscription "quantities", cancellation grace periods, and even generate invoice PDFs.
Test Setup
You will need to set the following details locally and on your Stripe account in order to test:
Local
Add some parameter in config.php such as like below
'stripe' => [ 'model' => 'App\Models\Users', 'secretKey' => null, 'publishKey' => null ]
Stripe
Plans
* monthly-10-1 ($10)
* monthly-10-2 ($10)
Coupons
* coupon-1 ($5)
Official Documentation
You can how to using it at here. Also it is inspiring by Laravel so you can take look on the Laravel website.
Contributing
Thank you for considering contributing to the Cashier. You can read the contribution guide lines here.
License
Phalcon Cashier is open-sourced software licensed under the MIT license