The Laravel Artisan Cheatsheet now has an API. Learn more.

down

Put the application into maintenance mode

Options

  • message - The message for the maintenance mode Optional
  • retry - The number of seconds after which the request may be retried Optional
  • allow - IP or networks allowed to access the application while in maintenance mode Optional
php artisan down [--message [MESSAGE]] [--retry [RETRY]] [--allow [ALLOW]]