Package Data | |
---|---|
Maintainer Username: | taylorotwell |
Maintainer Contact: | taylor@laravel.com (Taylor Otwell) |
Package Create Date: | 2014-03-04 |
Package Last Update: | 2024-11-26 |
Home Page: | https://laravel.com/docs/billing |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-27 15:01:05 |
Package Statistics | |
---|---|
Total Downloads: | 16,918,516 |
Monthly Downloads: | 401,269 |
Daily Downloads: | 17,636 |
Total Stars: | 2,391 |
Total Watchers: | 81 |
Total Forks: | 680 |
Total Open Issues: | 2 |
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.
Documentation for Cashier can be found on the Laravel website.
You will need to set the Stripe testing secret environment variable in a custom phpunit.xml
file in order to run the Cashier tests.
Copy the default file using cp phpunit.xml.dist phpunit.xml
and add the following line below the STRIPE_MODEL
environment variable in your new phpunit.xml
file:
<env name="STRIPE_SECRET" value="Your Stripe Secret Key"/>
Please note that due to the fact that actual API requests against Stripe are being made, these tests take a few minutes to run.
Thank you for considering contributing to the Cashier. You can read the contribution guide lines here.
Laravel Cashier is open-sourced software licensed under the MIT license.