esoftdream/maintenance-mode

Maintenance Mode module for CodeIgniter 4

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 3

pkg:composer/esoftdream/maintenance-mode

1.0.0 2024-03-02 08:18 UTC

This package is auto-updated.

Last update: 2025-09-20 08:44:07 UTC


README

Easily manage maintenance mode for your CodeIgniter 4
application with this CLI-powered module.
View available commands for activating, deactivating, and
customizing maintenance mode.

Setup

Open app/Config/Events.php and insert the provided code to
implement a maintenance mode check.

\Esoftdream\MaintenanceMode\Maintenance::check();

Additional

Open the file app/Config/Exception.php in your code editor.
Locate the line containing public array $ignoreCodes = [404];.
Add, 503 within the square brackets to ignore 503 status codes for logging.
Save your changes.