vdlp/oc-maintenance-plugin

Maintenance page plugin

Installs: 16 680

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 9

Forks: 2

Open Issues: 0

Type:october-plugin

2.2.1 2023-06-12 12:04 UTC

This package is auto-updated.

Last update: 2024-03-14 13:49:05 UTC


README

68747470733a2f2f706c7567696e732e76646c702e6e6c2f6f63746f626572636d732f69636f6e732f56646c702e4d61696e74656e616e63652e737667

Vdlp.Maintenance

Handles HTTP requests when October CMS is in maintenance mode.

68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f76646c702f6f632d6d61696e74656e616e63652d706c7567696e 68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f76646c702f6f632d6d61696e74656e616e63652d706c7567696e 68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f76646c702f6f632d6d61696e74656e616e63652d706c7567696e2f6c6174657374 68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f76646c702f6f632d6d61696e74656e616e63652d706c7567696e 68747470733a2f2f62616467656e2e6e65742f62616467652f636d732f4f63746f626572253230434d53 68747470733a2f2f62616467656e2e6e65742f62616467652f747970652f706c7567696e

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.