移植Laravel的 `CheckForMaintenanceMode` [检查维护模式]中间件到Lumen
github.com/AdamTyn/lumen-middleware-check-maintenance
Source
Issues
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
None
Requires (Dev)
Suggests
Provides
Conflicts
Replaces
MIT 4fe1aef461b3e11a6c9a8d96f0b3e01bff753e21
frameworklaravellumenadamtyn
This package is auto-updated.
Last update: 2024-10-27 21:19:36 UTC
移植Laravel的 CheckForMaintenanceMode [检查维护模式]中间件到Lumen
CheckForMaintenanceMode
在 'app/bootstrap/app.php' 中注册全局中间件:
$app->middleware([ \AdamTyn\Lumen\Middleware\CheckForMaintenanceMode::class ]);
本组件单独使用并不能达到Laravel一样的效果,必须同时安装下面2个组件