Table of Contents
Laravel 8 is here!
Recently Laravel team has announced that soon Laravel 8 is going to release on September 8, 2020. They expect the degradation time is about 10 to 20 minutes from Laravel 7.x.
Including the Improved maintenance mode, there are going to be several features of new version. Laravel 6 has switched to the semantic versioning and follows the release process. That means every six months; it releases a new first number such as 6.0, 7.0, 8.0, etc.
Features of Laravel 8
As it is confirmed that Laravel is going to release on September 8, there are many features that we can see in this framework. So let’s have a look on it:
PHP artisan serve
This is a small quality enhancement. If you update your .env file, then you don’t have to manually restart “php artisan serve.”
After a twitter poll, this feature has come. before a month ago Taylor has taken a survey where he has asked that where people like to put Models. Either in “app/” or “app/Models.” Based on that, it is decided that latest version of framework will automatically/default include the”app/Models” directory.
Must Check – Checkout the New PHP 8 Beta!
Updated generator commands for new directories
In latest framework, all the generator commands will detect that If you have a Model directory or not. If you don’t have it, then it will assume that Models go in “app/.”
There are several more features such as
- Job batching and job backoffs
- Exception reporting event listening
- Maintenance Mode
- Model factories and Jetstream
- Quashing migrations, rate limiting, and many more.