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.