/cashier

Primary LanguagePHPMIT LicenseMIT

Build Status Total Downloads Latest Stable Version License

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

You will need to set the Stripe Secret env variable before your vendor/bin/phpunit call in order to run the Cashier tests:

STRIPE_SECRET=<your Stripe secret> vendor/bin/phpunit

Please note that due to the fact that actual API requests against Stripe are being made, these tests take a few minutes to run.

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.