codenrx / maintaince
This Laravel package makes it possible for you to set your website in "Under Construction" and "Under Maintaince" mode
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Language:CSS
This package is auto-updated.
Last update: 2024-05-22 04:19:11 UTC
README
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!