{"id":20009818,"url":"https://github.com/jefferyjob/consul-manager","last_synced_at":"2026-05-19T10:38:24.374Z","repository":{"id":142258070,"uuid":"394929488","full_name":"jefferyjob/consul-manager","owner":"jefferyjob","description":"Laravel 的 consul 服务管理扩展包","archived":false,"fork":false,"pushed_at":"2021-08-12T10:01:16.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T11:49:27.631Z","etag":null,"topics":["consul","laravel","laravel-package","library","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/jefferyjob.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-11T09:09:29.000Z","updated_at":"2023-06-15T13:14:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"e33b6666-4023-44db-9eed-e4f4d47da318","html_url":"https://github.com/jefferyjob/consul-manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jefferyjob/consul-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferyjob%2Fconsul-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferyjob%2Fconsul-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferyjob%2Fconsul-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferyjob%2Fconsul-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jefferyjob","download_url":"https://codeload.github.com/jefferyjob/consul-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefferyjob%2Fconsul-manager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265553307,"owners_count":23787051,"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":["consul","laravel","laravel-package","library","php"],"created_at":"2024-11-13T07:17:10.771Z","updated_at":"2026-05-19T10:38:19.353Z","avatar_url":"https://github.com/jefferyjob.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Consul Manager\n\nLaravel 的 consul 服务管理扩展包\n\n## Label\n\n[![laravel](https://img.shields.io/badge/laravel-%3E5.6-red)](https://laravel.com)\n[![php](https://img.shields.io/badge/php-%3E7.0-blue)](https://www.php.net)\n[![consul](https://img.shields.io/badge/consul-%3E1.9-red)](https://www.consul.io)\n[![issues](https://img.shields.io/github/issues/jefferyjob/consul-manager)](https://github.com/jefferyjob/consul-manager/issues)\n[![GitHub forks](https://img.shields.io/github/forks/jefferyjob/consul-manager)](https://github.com/jefferyjob/consul-manager)\n[![GitHub stars](https://img.shields.io/github/stars/jefferyjob/consul-manager)](https://github.com/jefferyjob/consul-manager)\n[![GitHub license](https://img.shields.io/github/license/jefferyjob/consul-manager)](https://github.com/jefferyjob/consul-manager/blob/master/LICENSE)\n\n\n## 安装\n\n首先，通过 Composer 包管理器安装 consul-manager：\n\n```shell\ncomposer require jefferyjob/consul-mananger\n```\n\nconsul-manager 安装完成后，使用 `vendor:publish Artisan` 命令来生成 `consul-manager` 配置文件。这个命令将在你的 `config` 目录下生成一个 `consul_manager.php` 配置文件。  \n此外，还会在框架文件 `framework/config/app.php` 的 `providers` 和 `aliases` 注入服务。\n\n```shell\nphp artisan vendor:publish --provider=\"ConsulManager\\Providers\\ConsulManagerServiceProvider\"\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefferyjob%2Fconsul-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjefferyjob%2Fconsul-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefferyjob%2Fconsul-manager/lists"}