adspace


How can we use maintenance mode in laravel 5?

Answer Posted / Anand Sharma

To enable maintenance mode in Laravel 5, add the following lines to your `.env` file: `APP_DOWN=true`, and update your `app/Exceptions/Handler.php` class to set a proper response for HTTP 503 status code. After that, you can start the maintenance script using the artisan command: `php artisan down`. To stop maintenance mode, use: `php artisan up`.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is latest version of laravel?

869


Tell us have you used lumen before?

809


Do you know what version of laravel do you generally use?

839


How much laravel experience do you have?

815


What is current stable version of laravel?

870