This Laravel package makes it possible for you to set your website in Under Construction or Under Maintaince mode
composer require codenrx/maintainceadd 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,
];use these command to enable maintaince mode
php artisan make:maintaince onYou can also use these command to enable underconstruction mode
php artisan make:maintaince underconstructionDisable Maintaince Mode
php artisan make:maintaince offYou 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
Enjoy!