friendsofcat/laravel-db-maintenance

There is no license information available for the latest version (2.0.0) of this package.

Database implementation of app maintenance mode to replace default file maintenance

2.0.0 2023-09-15 14:11 UTC

This package is auto-updated.

Last update: 2024-04-15 15:32:12 UTC


README

Actions Status

A Database driven replacement for Laravel's default file based maintenance mode. This allows easy maintenance mode across multiple server environments.

Installation

composer require friendsofcat/laravel-db-maintenance

The service provider will be auto discovered. This will replace the default up and down commands as well as register a new CheckDbMaintenance middleware globally. So no need to manually add this to Kernel $middleware. However, the default \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class can be removed (optional).