5 Laravel 8 Features You Should Know

5 Laravel 8 Features You Should Know

The most popular PHP framework, Laravel, as you know, released its 8th version a few months ago, and let's take a closer look at these beautiful 7 features that have joined us.


#1 Maintenance Mode


This mode has actually existed since the first versions but has been redesigned based on developers' needs.

For example, you can put it in maintenance mode based on seconds.

php artisan down — refresh=15

Or you can set a secret key to allow only certain people to access it.

php artisan down — secret="1872391692361283"

#2 Job Grouping


Sometimes we can have heavy asynchronous job groups that become unmanageable, making it difficult to track their status. With Laravel 8, we can now group jobs.

#3 Queue Job Closure


In older versions, we only dispatched jobs, but now we can call a callback function when the queue jobs are finished to perform the necessary actions.


#4 Rate Limiting


Now we can set configurations on how many times a model or route can be clicked or how many times a job group can be accessed according to the needs of our application or business logic.