esoftdream/maintenance-mode

Maintenance Mode module for CodeIgniter 4

1.0.0 2024-03-02 08:18 UTC

This package is auto-updated.

Last update: 2024-05-20 05:35:19 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.