adspace
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