Laravel Tutorials

Video: Getting ready for PHP 8.1

Published
Video: Getting ready for PHP 8.1 image

Mohamed Said has a new video on the Laravel Youtube channel that covers PHP 8.1 and some of changes and more that should be aware of.

Topics the video covers include:

  • New Enum Types
  • Readonly Properties
  • Using "new" in initializers
  • Pure intersection types

Laravel has also started getting everything ready for PHP 8.1 and it will be fully working when Laravel 9 is released in 2022. Also, you can now use Laravel Sail with PHP 8.1 if you'd like to get your local setup ready.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Laravel Starter Kits Now Ship with Vite+ image

Laravel Starter Kits Now Ship with Vite+

Read article
Pessimistic Locking in Laravel Eloquent with refreshForUpdate() image

Pessimistic Locking in Laravel Eloquent with refreshForUpdate()

Read article
Mask Query Bindings in Laravel Exception Messages image

Mask Query Bindings in Laravel Exception Messages

Read article
whereBinary(): Case-Sensitive MySQL Queries in Laravel image

whereBinary(): Case-Sensitive MySQL Queries in Laravel

Read article
Compile PHP to Native Binaries with TypePHP image

Compile PHP to Native Binaries with TypePHP

Read article
State of Laravel 2026 Survey Is Now Open image

State of Laravel 2026 Survey Is Now Open

Read article