Laravel Cashier 9 Released
Published on by Paul Redmond
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:
v9.0.0
Changed
- Removed support for PHP 7.0 (#595)
- Require Laravel 5.7 as minimum version (#595)
- Extract
updateCard
fromcreateAsStripeCustomer
method (#588) - Remove
CASHIER_ENV
and event checks and encourage usage ofVerifyWebhookSignature
middleware (#591) - The
invoice
method now accepts an$options
param (#598) - The
invoiceFor
method now accepts an$invoiceOptions
param (#598)