php artisan down
UtilityPut the application into maintenance mode
Options & Flags
Available options for this command
--messageThe message for the maintenance mode screen
--retryThe number of seconds after which the request may be retried
--secretSecret phrase to bypass maintenance mode
Examples
Common usage examples
Enable maintenance mode
php artisan downEnable with bypass token
php artisan down --secret=my-secretNotes
- Shows 503 error to visitors
- Use --secret to access site during maintenance
Related Commands
You might also find these useful