Maintenance mode in laravel

By | June 7, 2018

Click here for more interview questions
If the application in maintenance mode MaintenanceModeException exception will be throwing

use the below command to make application down

php artisan down

application down with message

php artisan down –message “some maintenance work gong on will be back soon” –retry=60

even in the maintenance mode some specific ip can access the application using the below command

php artisan down –allow=’192.168.0.22′ –allow=’127.3.56′

Disable the maintenance mode using php artisan up command
Click here for more interview questions