Laravel: PHP 8 Support

Nov, 26 2020

PHP 8 has been officially released! We've been hard at work behind the scenes to provide support for all our libraries so that upgrading to PHP 8 with Laravel is easy.

First, make sure you're at the latest version of Laravel 6, 7 or 8 to get PHP 8 support. Then make sure you're on the very latest version of any first-party package from Laravel like Passport, Cashier, Dusk, etc.

There are also a couple of commonly used dependencies you'll need to update in your composer.json file:

Finally, run composer update to update other packages. Make sure to test your application before updating production. That's it! Enjoy PHP 8!

PS: We're still working on providing PHP 8 support for Scout and Nexmo Notification Channel. We expect this to land soon.

By Dries Vints

Developer at Laravel working on the first-party open source libraries. Find me on TwitterGitHub or my website.

Follow the RSS Feed.