railroad/laravel-db-maintenance

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

Database implementation of app maintenance mode to replace default file maintenance

1.0.3 2019-03-13 17:15 UTC

This package is auto-updated.

Last update: 2024-11-14 06:25:11 UTC


README

A Database driven replacement for Laravel's default file base maintenance mode. This allows easy maintenance mode across multiple servers.

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).