Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Latest commit

 

History

History
48 lines (28 loc) · 1.86 KB

readme.md

File metadata and controls

48 lines (28 loc) · 1.86 KB

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 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=Laravel\Cashier\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.