{"id":14966319,"url":"https://github.com/yiisoft/yii2-elasticsearch","last_synced_at":"2025-05-13T23:07:54.569Z","repository":{"id":12113126,"uuid":"14702742","full_name":"yiisoft/yii2-elasticsearch","owner":"yiisoft","description":"Yii 2 Elasticsearch extension","archived":false,"fork":false,"pushed_at":"2025-02-13T21:23:18.000Z","size":10654,"stargazers_count":427,"open_issues_count":23,"forks_count":251,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-04-10T00:14:55.652Z","etag":null,"topics":["elasticsearch","hacktoberfest","yii","yii2"],"latest_commit_sha":null,"homepage":"http://www.yiiframework.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"yiisoft","tidelift":"packagist/yiisoft/yii2-elasticsearch"}},"created_at":"2013-11-26T00:31:21.000Z","updated_at":"2025-02-13T21:23:22.000Z","dependencies_parsed_at":"2023-11-09T15:05:12.290Z","dependency_job_id":"1da5e1d0-6ae6-43c4-a625-1b775bfef96f","html_url":"https://github.com/yiisoft/yii2-elasticsearch","commit_stats":{"total_commits":4227,"total_committers":190,"mean_commits":22.24736842105263,"dds":0.6493967352732435,"last_synced_commit":"498a28dab157b529b0f0b5a0bfd209fc09cf31f7"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-elasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-elasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-elasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-elasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii2-elasticsearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131317,"owners_count":21052819,"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","hacktoberfest","yii","yii2"],"created_at":"2024-09-24T13:36:12.737Z","updated_at":"2025-04-10T00:15:01.695Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://tidelift.com/funding/github/packagist/yiisoft/yii2-elasticsearch"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.elastic.co/products/elasticsearch\" target=\"_blank\" rel=\"external\"\u003e\n        \u003cimg src=\"https://images.contentstack.io/v3/assets/bltefdd0b53724fa2ce/blt280217a63b82a734/5bbdaacf63ed239936a7dd56/elastic-logo.svg\" height=\"80px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eElasticsearch Query and ActiveRecord for Yii 2\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis extension provides the [Elasticsearch](https://www.elastic.co/products/elasticsearch) integration for the [Yii framework 2.0](https://www.yiiframework.com).\nIt includes basic querying/search support and also implements the `ActiveRecord` pattern that allows you to store active\nrecords in Elasticsearch.\n\nFor license information check the [LICENSE](LICENSE.md)-file.\n\nDocumentation is at [docs/guide/README.md](docs/guide/README.md).\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-elasticsearch/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-elasticsearch)\n[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-elasticsearch/downloads.png)](https://packagist.org/packages/yiisoft/yii2-elasticsearch)\n[![Build Status](https://travis-ci.com/yiisoft/yii2-elasticsearch.svg?branch=master)](https://travis-ci.com/yiisoft/yii2-elasticsearch)\n[![codecov](https://codecov.io/gh/yiisoft/yii2-elasticsearch/graph/badge.svg?token=oi71bPc1SU)](https://codecov.io/gh/yiisoft/yii2-elasticsearch)\n\nRequirements\n------------\n\n- PHP 7.3 or higher.\n\nDepending on the version of Elasticsearch you are using you need a different version of this extension.\n\n- For Elasticsearch 1.6.0 to 1.7.6 use extension version 2.0.x\n- For Elasticsearch 5.x or above use extension version 2.1.x\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/):\n\n\n```\ncomposer require --prefer-dist yiisoft/yii2-elasticsearch:\"~2.1.0\"\n```\n\nConfiguration\n-------------\n\nTo use this extension, you have to configure the Connection class in your application configuration:\n\n```php\nreturn [\n    //....\n    'components' =\u003e [\n        'elasticsearch' =\u003e [\n            'class' =\u003e 'yii\\elasticsearch\\Connection',\n            'nodes' =\u003e [\n                ['http_address' =\u003e '127.0.0.1:9200'],\n                // configure more hosts if you have a cluster\n            ],\n            'dslVersion' =\u003e 7, // default is 5\n        ],\n    ]\n];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-elasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii2-elasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-elasticsearch/lists"}