{"id":21424665,"url":"https://github.com/xmarcos/elasticsearchserviceprovider","last_synced_at":"2025-07-14T08:31:54.156Z","repository":{"id":23998570,"uuid":"27382273","full_name":"xmarcos/ElasticsearchServiceProvider","owner":"xmarcos","description":"A Silex Service Provider for Elasticsearch","archived":false,"fork":false,"pushed_at":"2022-08-17T21:21:56.000Z","size":216,"stargazers_count":8,"open_issues_count":1,"forks_count":7,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T05:43:40.609Z","etag":null,"topics":["elasticsearch","php","silex"],"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/xmarcos.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":"2014-12-01T14:09:46.000Z","updated_at":"2023-08-24T14:54:56.000Z","dependencies_parsed_at":"2022-09-07T03:21:12.410Z","dependency_job_id":null,"html_url":"https://github.com/xmarcos/ElasticsearchServiceProvider","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xmarcos/ElasticsearchServiceProvider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmarcos%2FElasticsearchServiceProvider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmarcos%2FElasticsearchServiceProvider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmarcos%2FElasticsearchServiceProvider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmarcos%2FElasticsearchServiceProvider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmarcos","download_url":"https://codeload.github.com/xmarcos/ElasticsearchServiceProvider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmarcos%2FElasticsearchServiceProvider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265262625,"owners_count":23736433,"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":["elasticsearch","php","silex"],"created_at":"2024-11-22T21:23:46.639Z","updated_at":"2025-07-14T08:31:52.394Z","avatar_url":"https://github.com/xmarcos.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElasticsearchServiceProvider\n\n[![Build Status](https://img.shields.io/travis/xmarcos/ElasticsearchServiceProvider/master.svg?style=flat-square)](https://travis-ci.org/xmarcos/ElasticsearchServiceProvider)\n[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/xmarcos/ElasticsearchServiceProvider/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/xmarcos/ElasticsearchServiceProvider/code-structure)\n[![Quality Score](https://img.shields.io/scrutinizer/g/xmarcos/ElasticsearchServiceProvider.svg?style=flat-square)](https://scrutinizer-ci.com/g/xmarcos/ElasticsearchServiceProvider)\n[![Latest Version](https://img.shields.io/packagist/v/xmarcos/elasticsearch-service-provider.svg?style=flat-square)](https://packagist.org/packages/xmarcos/elasticsearch-service-provider)\n[![Software License](https://img.shields.io/packagist/l/xmarcos/elasticsearch-service-provider.svg?style=flat-square)](LICENSE)\n[![Total Downloads](https://img.shields.io/packagist/dt/xmarcos/elasticsearch-service-provider.svg?style=flat-square)](https://packagist.org/packages/xmarcos/elasticsearch-service-provider)\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/c32f1a2e-bd23-41f8-8933-04976e454bd7/mini.png)](https://insight.sensiolabs.com/projects/c32f1a2e-bd23-41f8-8933-04976e454bd7)\n\nA [Silex](https://github.com/silexphp/Silex) Service Provider for the official [Elasticsearch Client](https://github.com/elasticsearch/elasticsearch-php).\n\n## Installation\n\n```json\n{\n    \"require\": {\n        \"xmarcos/elasticsearch-service-provider\": \"dev-master\"\n    }\n}\n```\n\n## Usage\n\n```php\nuse Silex\\Application;\nuse xmarcos\\Silex\\ElasticsearchServiceProvider\n\n$app = new Application();\n$app-\u003eregister(new ElasticsearchServiceProvider(), [\n    'elasticsearch.params' =\u003e [\n        'hosts' =\u003e [\n            '127.0.0.1:9200'\n        ],\n        'logging' =\u003e false\n    ]\n]);\n\n$app['elasticsearch']-\u003eping();\n```\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmarcos%2Felasticsearchserviceprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmarcos%2Felasticsearchserviceprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmarcos%2Felasticsearchserviceprovider/lists"}