Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 28 commits ahead of 9.0.
taylorotwell Merge pull request #646 from laravel/split-integration-tests
[10.0] Split and cleanup integration tests
Latest commit 4e394d1 Apr 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
resources/views convert 'or' usage to '??' Sep 5, 2018
src Set Stripe API Version Apr 16, 2019
tests Split and cleanup integration tests Apr 18, 2019
.editorconfig Update .editorconfig Dec 21, 2018
.gitattributes
.gitignore Ignore phpunit.xml Mar 22, 2019
.styleci.yml Add .styleci.yml config Apr 18, 2019
.travis.yml Matrix build Mar 22, 2019
CHANGELOG.md Merge branch '9.0' Apr 18, 2019
LICENSE.md Update license file Feb 15, 2019
UPGRADE.md formatting Apr 13, 2019
composer.json Merge branch '9.0' Mar 22, 2019
contributing.md Update contributing.md Jun 3, 2016
phpunit.xml.dist Split and cleanup integration tests Apr 18, 2019
readme.md Update readme.md Apr 10, 2019

readme.md

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 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.

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.

You can’t perform that action at this time.