dlouvard / laravel-gestionmaintenance
Add Maintenance Gestion for Laravel 5
Installs: 275
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/dlouvard/laravel-gestionmaintenance
Requires
- php: >=5.5.9
- illuminate/support: >=5.1
This package is auto-updated.
Last update: 2025-09-28 22:32:19 UTC
README
Use Laravel with the plugin maintenance
Features
- Add Maintenance Gestion in your application
Installation
In your project base directory run
composer require "dlouvard/laravel-gestionmaintenance":"master@dev"
To bring up the config file run, if you want to customize
php artisan vendor:publish
php artisan migrate
Then edit config/app.php
and add the service provider within the providers
array.
'providers' => array(
...
Dlouvard\LaravelGestionmaintenance\GestionmaintenanceServiceProvider::class,
Usage
Middleware :
Add \Dlouvard\LaravelGestionmaintenance\Middleware\MaintenanceMiddleware::class
in $middlewareGroups -> 'web' in app/kernel.php
View for login : @include('vendor.maintenances._maintenance_login')
View for header : @include('vendor.maintenances._maintenance_header')