There are two ways to enable & disable maintenance mode in laravel 5.
Whenever your website is in maintenance mode, laravel return a custom view that will be displayed for all requests. This makes it easy to "disable" your website or application while it is updating or when you are performing some maintenance.
To enable maintenance mode in laravel 5, execute below artisan command in your command line.
php artisan down
To disable maintenance mode in laravel 5, execute below artisan command in your command line.
php artisan up
0 Comment(s)