vdlp / oc-maintenance-plugin
Maintenance page plugin
Installs: 21 147
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 9
Forks: 2
Open Issues: 1
Type:october-plugin
Requires
- php: ^8.0.2
- composer/installers: ^1.0 || ^2.0
- october/rain: ^3.0
This package is auto-updated.
Last update: 2024-10-21 09:40:39 UTC
README
Vdlp.Maintenance
Handles HTTP requests when October CMS is in maintenance mode.
To bring October CMS down:
php artisan down
To bring October CMS up:
php artisan up
Installation
composer require vdlp/oc-maintenance-plugin
Configuration
To configure this plugin execute the following command:
php artisan vendor:publish --provider="Vdlp\Maintenance\Providers\MaintenanceServiceProvider" --tag="config"
Customization
This plugin is shipped with a default maintenance page.
If you would like to customize this page you can create a folder called maintenance
in the root of your project. Inside this directory you should create a file called 503.htm
. This file is rendered using the default view engine of your project and receives two variables: app_name
and locale
, where app_name
is the value of the app.name
configuration variable and locale
is the active locale name.