Download the PHP package samosadlaker/statamic-maintenance without Composer
On this page you can find all versions of the php package samosadlaker/statamic-maintenance. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download samosadlaker/statamic-maintenance
More information about samosadlaker/statamic-maintenance
Files in samosadlaker/statamic-maintenance
Package statamic-maintenance
Short Description Statamic Maintenance addon
License MIT
Informations about the package statamic-maintenance
Statamic Maintenance
Maintenance addon for Statamic inspired by plugrbase/statamic-maintenance-mode
This addon allows you to put your site into maintenance mode. When maintenance mode is enabled, your site will display a maintenance page to all visitors except Control Panel users (super users or users with the access cp permission).
You can customize the maintenance page or use the default one.
Features
- Simple and quick setup
- Fully customizable to suit your needs
- Integrated Bard field for rich text formatting
- Supports dark mode for a sleek appearance
Compatibility
- Statamic 6.x
Installation
You can install this addon via Composer:
Control Panel
The settings page is rendered with Statamic 6's built-in publish form, so the addon
ships no Control Panel assets and requires no npm build step.
Use the Use default maintenance page toggle to switch between the addon's built-in page and a custom template. When it is disabled, a Custom Maintenance Page field appears and lets you pick one of your application's templates.
Configuration
The addon stores its settings in content/maintenance.yaml and registers:
- CP settings page:
cp/maintenance - Frontend maintenance page:
/maintenance
Bypass behavior during maintenance mode:
- Super users
- Users with the
access cppermission
Production Notes
- Keep
content/maintenance.yamlwritable by your deployment/runtime user. -
If you customize the maintenance view, publish the views:
- Clear and refresh Statamic content caches after deployment when needed:
Local Testing
Run tests locally:
Showcase

In the control panel, you can set a custom Title, Message, and Maintenance Page. Toggle Use default maintenance page to use the addon's built-in page, or pick a custom template.
License
The MIT License (MIT). Please see License File for more information.