Commands.app

php artisan down

Utility

Put the application into maintenance mode

Options & Flags
Available options for this command
--message

The message for the maintenance mode screen

--retry

The number of seconds after which the request may be retried

--secret

Secret phrase to bypass maintenance mode

Examples
Common usage examples

Enable maintenance mode

php artisan down

Enable with bypass token

php artisan down --secret=my-secret
Notes
  • Shows 503 error to visitors
  • Use --secret to access site during maintenance
Related Commands
You might also find these useful