Package Data | |
---|---|
Maintainer Username: | AdamTyn |
Maintainer Contact: | tynadam@foxmail.com (AdamTyn) |
Package Create Date: | 2020-10-22 |
Package Last Update: | 2021-05-27 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-17 03:07:29 |
Package Statistics | |
---|---|
Total Downloads: | 12 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
移植Laravel的 php artisan up
[退出维护模式]指令到Lumen
在 'app/commands/kernel.php' 中注册指令:
protected $commands = [
\AdamTyn\Lumen\Artisan\UpCommand::class
];
本组件单独使用并不能达到Laravel一样的效果,必须同时安装下面2个组件
| Library | Description |
| :----------------------------------------------------------: | :--------------------------------------------------------: |
| adamtyn/lumen-artisan-down | 移植Laravel的 php artisan down
[进入维护模式]指令到Lumen |
| adamtyn/lumen-middleware-check-maintenance | 移植Laravel的 CheckForMaintenanceMode
[检查维护模式]中间件到Lumen |