dlouvard/laravel-gestionmaintenance

Add Maintenance Gestion for Laravel 5

Downloads

275

Stars

0

Version

laravel-maintenance

Use Laravel with the plugin maintenance

  1. Features
  2. Installation
  3. Usage
  4. Options

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

dlouvard

Author

dlouvard