scrnhq / cashier-multi
Installs: 4 268
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.5.9
- laravel/cashier: ^7.0
Requires (Dev)
- illuminate/http: ~5.3
- illuminate/routing: ~5.3
- illuminate/view: ~5.3
- phpunit/phpunit: ~5.0
- vlucas/phpdotenv: ~2.0
This package is auto-updated.
Last update: 2024-10-23 02:19:31 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.
Changes
Features
- Supports multi-plan subscriptions.
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_KEY=
STRIPE_SECRET=
STRIPE_MODEL=ScrnHQ\Cashier\Tests\Fixtures\User
Stripe
Plans
* monthly-10-1 ($10)
* monthly-10-2 ($10)
Coupons
* coupon-1 ($5)