rdehnhardt/lumen-maintenance-mode
最新稳定版本:1.2.1
Composer 安装命令:
composer require rdehnhardt/lumen-maintenance-mode
包简介
Define application maintenance mode.
关键字:
README 文档
README
How to install
composer require rdehnhardt/lumen-maintenance-mode
How to configure
In bootstrap/app.php, add this instruction in providers
$app->register(
Rdehnhardt\MaintenanceMode\Providers\MaintenanceModeServiceProvider::class
);
Set View
resources/views/errors/503.blade.php
Put the application into maintenance mode.
php artisan down
Bring the application out of maintenance mode.
php artisan up
IP released for access
In .env file
ALLOWED_IPS=999.99.9.999,999.99.9.999,999.99.9.999
统计信息
- 总下载量: 26.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 25
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-09