| Package Data | |
|---|---|
| Maintainer Username: | 8ctopus |
| Maintainer Contact: | J3rrey.git@gmail.com (Jeremy Bruns) |
| Package Create Date: | 2020-07-21 |
| Package Last Update: | 2022-03-28 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-04 15:07:17 |
| Package Statistics | |
|---|---|
| Total Downloads: | 2,159 |
| Monthly Downloads: | 4 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 0 |
| Total Forks: | 2 |
| Total Open Issues: | 1 |
php 7.3 Lumen 7.x
composer require 8ctopus/lumen-7-maintenance-mode
Add this to your AppServiceProvider or in bootstrap/app.php
$app->register(\oct8pus\MaintenanceMode\Providers\MaintenanceModeServiceProvider::class);
Add the up and down commands in app/console/Kernel.php
protected $commands = [
\oct8pus\MaintenanceMode\Console\Commands\DownCommand::class,
\oct8pus\MaintenanceMode\Console\Commands\UpCommand::class
];
php artisan down
php artisan up
Currently only ipv4 and no ip ranges
Add ALLOWED_IPS in your .env file
ALLOWED_IPS=192.168.1.2,127.0.0.1,136.22.16.0
Features planned: