rdehnhardt/lumen-maintenance-mode 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rdehnhardt/lumen-maintenance-mode

最新稳定版本:1.2.1

Composer 安装命令:

composer require rdehnhardt/lumen-maintenance-mode

包简介

Define application maintenance mode.

README 文档

README

Latest Stable Version Total Downloads License Build Status Scrutinizer Code Quality

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

GitHub 信息

  • Stars: 24
  • Watchers: 2
  • Forks: 26
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-09