dlouvard / laravel-gestionmaintenance by damoon271

Add Maintenance Gestion for Laravel 5
275
0
1
Package Data
Maintainer Username: damoon271
Maintainer Contact: contact@damien-louvard.fr (Damien Louvard)
Package Create Date: 2016-12-26
Package Last Update: 2017-07-27
Language: PHP
License: Unknown
Last Refreshed: 2024-11-22 03:02:46
Package Statistics
Total Downloads: 275
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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