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

Turn on Laravel's support for PHP8

藏色散人
Release: 2021-01-05 09:08:13
forward
4866 people have browsed it

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!

Related labels:
source:learnku.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template