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

down

Put the application into maintenance / demo mode

Options

  • redirect - The path that users should be redirected to Optional
  • render - The view that should be prerendered for display during maintenance mode Optional
  • retry - The number of seconds after which the request may be retried Optional
  • refresh - The number of seconds after which the browser may refresh Optional
  • secret - The secret phrase that may be used to bypass maintenance mode Optional
  • with-secret - Generate a random secret phrase that may be used to bypass maintenance mode Optional
  • status - The status code that should be used when returning the maintenance mode response Optional
php artisan down [--redirect [REDIRECT]] [--render [RENDER]] [--retry [RETRY]] [--refresh [REFRESH]] [--secret [SECRET]] [--with-secret] [--status [STATUS]]