Skip to content

Repository files navigation

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

About

Laravel Database Maintenance Mode

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages