LaravelPackages.net
Acme Inc.
Toggle sidebar
dlouvard/laravel-gestionmaintenance

Add Maintenance Gestion for Laravel 5

275
0
About dlouvard/laravel-gestionmaintenance

dlouvard/laravel-gestionmaintenance is a Laravel package for add maintenance gestion for laravel 5. It currently has 0 GitHub stars and 275 downloads on Packagist. Install it with composer require dlouvard/laravel-gestionmaintenance. Discover more Laravel packages by dlouvard or browse all Laravel packages to compare alternatives.

Last updated

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

Comments