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

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Validate and Convert HEIC Images in Laravel image

Validate and Convert HEIC Images in Laravel

Read article
Saga Lara Flow: Durable Workflows and Compensating Transactions on Laravel Queues image

Saga Lara Flow: Durable Workflows and Compensating Transactions on Laravel Queues

Read article
Reject Unexpected Array Keys with Laravel Validation image

Reject Unexpected Array Keys with Laravel Validation

Read article
Major performance improvements & security patches for Filament v4.12 and v5.7! image

Major performance improvements & security patches for Filament v4.12 and v5.7!

Read article
Laravel Boost Project Rules: Teach Agents Your Conventions image

Laravel Boost Project Rules: Teach Agents Your Conventions

Read article
Extract an Image's Dominant Color in Laravel image

Extract an Image's Dominant Color in Laravel

Read article