Skip to content

dlouvard/laravel-gestionmaintenance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE.md
GPL-2.0
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published