{"id":22354143,"url":"https://github.com/adamtyn/lumen-artisan-down","last_synced_at":"2026-04-28T01:33:14.920Z","repository":{"id":56940460,"uuid":"306298609","full_name":"AdamTyn/lumen-artisan-down","owner":"AdamTyn","description":"移植Laravel的 `php artisan down` [进入维护模式]指令到Lumen","archived":false,"fork":false,"pushed_at":"2021-05-27T13:53:56.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T18:04:38.264Z","etag":null,"topics":["composer-package","laravel","lumen","lumen-package","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AdamTyn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-22T10:15:26.000Z","updated_at":"2022-10-24T02:56:42.000Z","dependencies_parsed_at":"2022-08-21T07:20:08.507Z","dependency_job_id":null,"html_url":"https://github.com/AdamTyn/lumen-artisan-down","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Flumen-artisan-down","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Flumen-artisan-down/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Flumen-artisan-down/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Flumen-artisan-down/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdamTyn","download_url":"https://codeload.github.com/AdamTyn/lumen-artisan-down/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Flumen-artisan-down/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259114493,"owners_count":22807245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer-package","laravel","lumen","lumen-package","php"],"created_at":"2024-12-04T13:11:37.359Z","updated_at":"2026-04-28T01:33:14.877Z","avatar_url":"https://github.com/AdamTyn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lumen-artisan-down\n\n移植Laravel的 `php artisan down` [进入维护模式]指令到Lumen\n\n# Usage\n\n在 **'app/commands/kernel.php'** 中注册指令：\n\n```\nprotected $commands = [\n\t\\AdamTyn\\Lumen\\Artisan\\DownCommand::class\n];\n```\n\n# Attention\n\n本组件单独使用并不能达到Laravel一样的效果，必须同时安装下面2个组件\n\n|                           Library                            |                        Description                         |\n| :----------------------------------------------------------: | :--------------------------------------------------------: |\n| [adamtyn/lumen-artisan-up](https://github.com/AdamTyn/lumen-artisan-up) | 移植Laravel的 `php artisan up` [退出维护模式]指令到Lumen |\n| [adamtyn/lumen-middleware-check-maintenance](https://github.com/AdamTyn/lumen-middleware-check-maintenance) |  移植Laravel的 `CheckForMaintenanceMode` [检查维护模式]中间件到Lumen  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamtyn%2Flumen-artisan-down","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamtyn%2Flumen-artisan-down","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamtyn%2Flumen-artisan-down/lists"}