Laravel Cashier 9 Released

Laravel Cashier 9 Released

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 from createAsStripeCustomer method (#588)
  • Remove CASHIER_ENV and event checks and encourage usage of VerifyWebhookSignature middleware (#591)
  • The invoice method now accepts an $options param (#598)
  • The invoiceFor method now accepts an $invoiceOptions param (#598)

Fixed

  • Fixed some DocBlocks (#594)
  • Fixed a bug where the swap and incrementAndInvoice methods on the Subscription model would sometimes invoice other pending invoice items (#598)

Filed in: News / Cashier / Releases
Laravel News Partners

Laravel Jobs

PHP Developer - Full time w/ benefits, US Only
Northern Virginia or Remote (US Only)
Guidance Residential
Full Stack Developer
Remote
Wehaa.com
Laravel API Developer
Las Vegas, NV (Must work on-site)
V Shred
Laravel Developer (Vue, SQL Server)
Remote
World Trade Organization
Web Application Developer (Vue.js & Laravel)
Remote
Apero Creative Development

Newsletter

Join 31,000+ others and never miss out on new tips, tutorials, and more.