Home  >  Article  >  PHP Framework  >  Turn on Laravel's support for PHP8

Turn on Laravel's support for PHP8

藏色散人
藏色散人forward
2020-12-22 15:09:224804browse

The following tutorial column of Turn on Laravels support for PHP8 Framework will introduce to you how to enable Turn on Laravels support for PHP8’s support for PHP8. I hope it will be helpful to friends in need!

Turn on Laravels support for PHP8

PHP 8 has been officially released! We have been working hard to provide support for all our libraries to easily upgrade to PHP 8 using Turn on Laravels support for PHP8.

First, make sure you are using the latest version of Turn on Laravels support for PHP8 6, 7, or 8 for PHP 8 support. Then make sure you are using the latest version of any first-party packages provided by Turn on Laravels support for PHP8, such as Passport, Cashier, Dusk, etc.

You also need to update several common dependencies in the composer.json file:

  • PHP is updated to php:^8.0
  • Faker updated to fakerphp/faker:^1.9.1
  • PHPUnit updated to phpunit/phpunit:^9.3

Finally, run composer update to update other software packages. Make sure to test your application before updating it for production. This is PHP 8! Enjoy PHP 8!

PS: We are still working on providing PHP 8 support for Scout and Nexmo Notification Channel. We hope this comes soon.

Original address: https://blog.laravel.com/laravel-php-8-support

Translation address: https://learnku.com/laravel/t/ 52822

The above is the detailed content of Turn on Laravel's support for PHP8. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:learnku.com. If there is any infringement, please contact admin@php.cn delete