Skip to content

This Laravel package makes it possible for you to set your website in Under Construction or Under Maintaince mode

Notifications You must be signed in to change notification settings

codenrx/Laravel-Under-Maintaince

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Laravel Under Maintaince Package

issu Status Build Status folk Status contributions welcome Tweet

This Laravel package makes it possible for you to set your website in Under Construction or Under Maintaince mode

Install

composer require codenrx/maintaince

add these line in providers array of config/app.php

codenrx\maintaince\maintainceServiceProvider::class,

then , use these command to publish package config file (maintaince.php) in config folder and template in views\vendor\maintaince folder .

php artisan vendor:publish --provider="codenrx\maintaince\maintainceServiceProvider"

Open app\Http\Kernel.php & add these line into

protected $middleware = [
     .....................
     ..................
     \codenrx\maintaince\App\Http\Middleware\maintainceWare::class,
];

Usage

use these command to enable maintaince mode

php artisan make:maintaince on

You can also use these command to enable underconstruction mode

php artisan make:maintaince underconstruction

Disable Maintaince Mode

php artisan make:maintaince off

Customization

You can customize your template also . You need to go /resources/views/vendor/maintaince.

For Some Settings , You can check config file (maintaince.php) in config folder


Template Credits : ❤️ Colorlib

For more Links

Enjoy!

About

This Laravel package makes it possible for you to set your website in Under Construction or Under Maintaince mode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published