The Laravel team released Laravel Cashier v9.0 this week requiring an upgrade of PHP and upping the minimum Laravel version to Laravel v5.7.
Laravel Cashier is a free open-source package that provides a fluent interface for working with Stripe and Braintree subscriptions:
Laravel Cashier provides an expressive, fluent interface to Stripe’s and Braintree’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.
Be sure to read the Cashier upgrade guide for upgrading to Cashier v9.0 from v8.0 for changes and version requirements. The full diff between v8 and v9 and the v9.0.0 changelog are available on GitHub.
Here’s the complete changelog for v9.0.0:
- Removed support for PHP 7.0 (#595)
- Require Laravel 5.7 as minimum version (#595)
CASHIER_ENVand event checks and encourage usage of
invoicemethod now accepts an
invoiceFormethod now accepts an