angusm73 / cashier
Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.
Requires
- php: ^8.1
- ext-json: *
- illuminate/console: ^10.0
- illuminate/contracts: ^10.0
- illuminate/database: ^10.0
- illuminate/http: ^10.0
- illuminate/log: ^10.0
- illuminate/notifications: ^10.0
- illuminate/pagination: ^10.0
- illuminate/routing: ^10.0
- illuminate/support: ^10.0
- illuminate/view: ^10.0
- moneyphp/money: ^4.0
- nesbot/carbon: ^2.0
- stripe/stripe-php: ^7.39|^8.0|^9.0|^10.0
- symfony/http-kernel: ^6.0
- symfony/polyfill-intl-icu: ^1.22.1
Requires (Dev)
- dompdf/dompdf: ^2.0
- mockery/mockery: ^1.0
- orchestra/testbench: ^8.14
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.0
Suggests
- ext-intl: Allows for more locales besides the default "en" when formatting money values.
- v10.9
- v10.8
- v10.7
- v10.6
- v10.5
- v10.4
- v10.3
- 10.2.2
- v10.2.1
- v10.2.0
- v10.1.1
- v10.1.0
- 10.0.x-dev
- dev-master / 10.0.x-dev
- v10.0.1
- v10.0.0
- v10.0.0-beta.2
- v10.0.0-beta
- v9.4.13
- v9.4.12
- v9.4.11
- v9.4.10
- v9.4.9
- v9.4.8
- v9.4.7
- v9.4.6
- v9.4.5
- v9.4.4
- v9.4.3
- v9.4.2
- v9.4.1
- v9.4
- v9.3.11
- v9.3.10
- v9.3.9
- v9.3.8
- v9.3.7
- v9.3.6
- v9.3.5
- v9.3.4
- v9.3.3
- v9.3.2
- v9.3.1
- v9.3.0
- v9.2.1
- v9.2.0
- v9.1.0
- 9.0.x-dev
- v9.0.1
- v9.0.0
- 8.0.x-dev
- v8.0.1
- v8.0.0
- v7.2.2
- v7.2.1
- v7.2.0
- v7.1.3
- v7.1.2
- v7.1.1
- v7.1.0
- 7.0.x-dev
- v7.0.13
- v7.0.12
- v7.0.11
- v7.0.10
- v7.0.9
- v7.0.8
- v7.0.7
- v7.0.6
- v7.0.5
- v7.0.4
- v7.0.3
- v7.0.2
- v7.0.1
- v7.0.0
- 6.0.x-dev
- v6.0.20
- v6.0.19
- v6.0.18
- v6.0.17
- v6.0.16
- v6.0.15
- v6.0.14
- v6.0.13
- v6.0.12
- v6.0.11
- v6.0.10
- v6.0.9
- v6.0.8
- v6.0.7
- v6.0.6
- v6.0.5
- v6.0.4
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- v6.0.0-beta4
- v6.0.0-beta3
- v6.0.0-beta2
- v6.0.0-beta1
- 5.0.x-dev
- v5.0.15
- v5.0.14
- v5.0.13
- v5.0.12
- v5.0.11
- v5.0.10
- v5.0.9
- v5.0.8
- v5.0.7
- v5.0.6
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- 4.0.x-dev
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- 3.0.x-dev
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- 2.0.x-dev
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.0
- dev-checkout
This package is auto-updated.
Last update: 2024-12-01 00:10:34 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.
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 CASHIER_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.