LaravelPackages.net
Acme Inc.
Toggle sidebar
rockbuzz/lara-maintenance

Puts the application into maintenance mode for all IPs that are not configured as an exception.

1.262
0
2.0.1
About rockbuzz/lara-maintenance

rockbuzz/lara-maintenance is a Laravel package for puts the application into maintenance mode for all ips that are not configured as an exception.. It currently has 0 GitHub stars and 1.262 downloads on Packagist (latest version 2.0.1). Install it with composer require rockbuzz/lara-maintenance. Discover more Laravel packages by rockbuzz or browse all Laravel packages to compare alternatives.

Last updated

Lara Maintenance

Puts the application into maintenance mode for all IPs that are not configured as an exception.

Requirements

PHP: >=7.2

Install

$ composer require rockbuzz/lara-maintenance

Configuration

$ php artisan vendor:publish --provider="Rockbuzz\LaraMaintenance\ServiceProvider" --tag="config"

Usage

In App\Http\Kernel

protected $middleware = [
        \Rockbuzz\LaraMaintenance\Authorize::class,
        ...
    ];

In .env

APP_MAINTENANCE_MODE=true
APP_MAINTENANCE_EXCEPT="127.0.0.2, 127.0.0.3"

License

The Lara Maintenance is open-sourced software licensed under the MIT license.

Star History Chart