{"id":16233811,"url":"https://github.com/akondas/symfony-consul-bundle","last_synced_at":"2025-03-19T14:31:44.932Z","repository":{"id":39791666,"uuid":"245853786","full_name":"akondas/symfony-consul-bundle","owner":"akondas","description":"Auto register Symfony app with Consul","archived":false,"fork":false,"pushed_at":"2022-10-01T13:30:21.000Z","size":192,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T08:21:25.511Z","etag":null,"topics":["consul","hacktoberfest","php","symfony","symfony-bundle"],"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/akondas.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-03-08T17:03:04.000Z","updated_at":"2024-07-03T14:06:48.000Z","dependencies_parsed_at":"2022-09-18T19:00:38.116Z","dependency_job_id":null,"html_url":"https://github.com/akondas/symfony-consul-bundle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akondas%2Fsymfony-consul-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akondas%2Fsymfony-consul-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akondas%2Fsymfony-consul-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akondas%2Fsymfony-consul-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akondas","download_url":"https://codeload.github.com/akondas/symfony-consul-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244444729,"owners_count":20453785,"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","hacktoberfest","php","symfony","symfony-bundle"],"created_at":"2024-10-10T13:13:59.416Z","updated_at":"2025-03-19T14:31:44.688Z","avatar_url":"https://github.com/akondas.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony Consul Bundle\n\nRegister and deregister your Symfony application in [Consul](https://consul.io)\n\n![Consul Service](doc/consul.png)\n\n## 1. Install\n\n```bash\ncomposer require akondas/symfony-consul-bundle\n```\n\n## 2. Configure\n\nEnable this bundle in Symfony, add this line to your `bundles.php` file:\n\n```php\nAkondas\\ConsulBundle\\ConsulBundle::class =\u003e ['all' =\u003e true]\n```\n\nAdd routing:\n\n```yaml\nconsul_bundle:\n  resource: '@ConsulBundle/Resources/config/routing.yml'\n```\n\nConfiguration reference:\n\n```bash\nconsul:\n  service:\n    name: 'subscription-service' # name of your app\n    host: 'localhost' # host of your application under which it is available\n    port: 8000 # port of your application under which it is available \n  client:\n    base_uri: http://127.0.0.1:8500 # consule server uri\n```\n\n## 3. Use\n\nAvailable commands:\n\n - `bin/console consul:register` - register application in Consul\n - `bin/console consul:deregister` - deregister application from Consul\n - `bin/console debug:consul-check` - debug Consul check \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakondas%2Fsymfony-consul-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakondas%2Fsymfony-consul-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakondas%2Fsymfony-consul-bundle/lists"}