cruxinator / cashier-multiplan
Laravel Cashier Multiplan
Installs: 902
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 681
Open Issues: 0
Requires
- php: >=5.5.9
- dompdf/dompdf: ^0.8.0
- illuminate/database: ~5.3
- illuminate/support: ~5.3
- nesbot/carbon: ~1.0
- stripe/stripe-php: ~5.0
- symfony/http-kernel: ~2.7|~3.0|~4.0
Requires (Dev)
- brianium/paratest: ^0.15
- illuminate/http: ~5.3
- illuminate/routing: ~5.3
- illuminate/view: ~5.3
- mockery/mockery: ~1.0
- phpunit/phpunit: ~5.0
- vlucas/phpdotenv: ~2.0
This package is not auto-updated.
Last update: 2024-12-16 14:37:11 UTC
README
Introduction
Laravel 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.
Official Documentation
Documentation for Cashier can be found on the Laravel website.
Running Cashier's Tests Locally
You will need to set the following details locally and on your Stripe account in order to run the Cashier unit tests:
Environment
.env
STRIPE_SECRET=
STRIPE_MODEL=Jurihub\CashierMultiplan\Tests\Fixtures\User
You can set these variables in the phpunit.xml
file.
Stripe
Plans
* monthly-10-1 ($10)
* monthly-10-2 ($10)
Coupons
* coupon-1 ($5)
Contributing
Thank you for considering contributing to the Cashier. You can read the contribution guide lines here.
License
Laravel Cashier is open-sourced software licensed under the MIT license.