How To Put Laravel Applications In Maintenance Mode?

Maintenance mode is used to put a maintenance page to customers and under the hood, we can do software updates, bug fixes, etc. Laravel applications can be put into maintenance mode using the below command:


php artisan down

And can put the application again on live using the below command:


php artisan up

Also, it is possible to access the website in maintenance mode by whitelisting particular IPs.

Comments

Leave a Reply