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


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Senior Quality Assurance Engineer
Remote
Bisnow Media
Senior PHP/Laravel Developer: Your Dream Work Environment
Remote
iPhone Photography School
Senior Software Engineer
Remote or San Francisco
Curology
Laravel Developer
Las Vegas, NV
V Shred
R&D Developer
Denver, CO
booj
Full-Stack Developer
Paris, France
Wingly
Full Stack Developer
Remote US-Only
atlasMind