friendsofcat/laravel-db-maintenance

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

Database implementation of app maintenance mode to replace default file maintenance

1.2.0 2020-12-11 00:21 UTC

This package is auto-updated.

Last update: 2021-10-04 10:12:23 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).