# Laravel Maintenance Mode on FlyWP

> Put a Laravel site into maintenance mode from the FlyWP dashboard, with an optional secret bypass, and bring it back live.

Source: https://flywp.com/docs/site/php-apps/laravel-maintenance-mode/

Maintenance mode takes your Laravel application offline with a 503 page, using `php artisan down`. Use it while you make changes that visitors should not see.

## Enable maintenance mode

1. Open your Laravel site and click **Laravel** in the site menu.
2. In the **Maintenance Mode** card, click **Enable maintenance mode**. The **Enable maintenance mode?** dialog opens.
3. Optional: in **Secret bypass (optional)**, enter a secret or click **Generate**. Visitors with the secret can reach the site at `/<secret>` while maintenance mode is active. Use letters, numbers, dashes, and underscores, up to 64 characters.
4. Click **Enable**.

![Enable maintenance mode dialog on the Laravel page](https://flywp.com/wp-content/uploads/2026/11/php-apps-maintenance-mode.png)

The button shows **Applying…** until the change finishes, and then you see **Maintenance mode enabled.** The card badge changes from **Inactive** to **Active**, and visitors get a 503 response. You do not need to click **Save Changes** for this card.

## Bring the site live

1. Click **Turn off maintenance mode**.
2. In the **Bring site live?** dialog, click **Bring live**.

You see **Site is live again.** when it is done.

The **Laravel** page checks the current state on the server, so the badge shows **Checking…** for a moment when you open the page. If the change fails, the site gets an alert with the message **Failed to update maintenance mode.**

This is separate from the maintenance mode for WordPress sites. See [Maintenance Mode](https://flywp.com/docs/site/settings/maintenance-mode/) for those.

## Related guides

- [Laravel, Symfony & PHP Apps overview](https://flywp.com/docs/site/php-apps/)
