friendsofcat/laravel-db-maintenance

Database implementation of app maintenance mode to replace default file maintenance

Downloads

28580

Stars

6

Version

2.0.0

Laravel Database Maintenance

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

friendsofcat

Author

friendsofcat