To enable maintenance mode, we have to use this artisan command

php artisan down

To disable maintenance mode, we have to use this artisan command

php artisan up

Suggest An Answer