{"id":14966317,"url":"https://github.com/yiisoft/yii2-sphinx","last_synced_at":"2025-05-16T04:03:42.124Z","repository":{"id":12083210,"uuid":"14670960","full_name":"yiisoft/yii2-sphinx","owner":"yiisoft","description":"Yii 2 Sphinx extension.","archived":false,"fork":false,"pushed_at":"2024-03-21T18:21:22.000Z","size":10408,"stargazers_count":181,"open_issues_count":4,"forks_count":72,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-05-11T20:04:02.985Z","etag":null,"topics":["hacktoberfest","sphinx","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},"funding":{"open_collective":"yiisoft","github":["yiisoft"],"tidelift":"packagist/yiisoft/yii2-sphinx"}},"created_at":"2013-11-24T22:45:37.000Z","updated_at":"2025-01-29T19:29:15.000Z","dependencies_parsed_at":"2023-11-09T15:04:58.045Z","dependency_job_id":"c8a758f2-7972-470e-bf35-1f32044434ff","html_url":"https://github.com/yiisoft/yii2-sphinx","commit_stats":{"total_commits":4074,"total_committers":147,"mean_commits":"27.714285714285715","dds":0.6320569464899362,"last_synced_commit":"6979bf5cca2f702d3e491c3720c3a376f93d5d8b"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-sphinx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-sphinx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-sphinx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-sphinx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii2-sphinx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464891,"owners_count":22075570,"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":["hacktoberfest","sphinx","yii","yii2"],"created_at":"2024-09-24T13:36:12.619Z","updated_at":"2025-05-16T04:03:42.105Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft","https://tidelift.com/funding/github/packagist/yiisoft/yii2-sphinx"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://sphinxsearch.com\" target=\"_blank\" rel=\"external\"\u003e\n        \u003cimg src=\"https://sphinxsearch.com/images/logo.png\" height=\"55px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eSphinx Extension for Yii 2\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis extension adds [Sphinx](https://sphinxsearch.com/docs) full text search engine extension for the [Yii framework 2.0](https://www.yiiframework.com).\nIt supports all Sphinx features including [Real-time Indexes](https://sphinxsearch.com/docs/current.html#rt-indexes).\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-sphinx/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-sphinx)\n[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-sphinx/downloads.png)](https://packagist.org/packages/yiisoft/yii2-sphinx)\n[![Build status](https://github.com/yiisoft/yii2-sphinx/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-sphinx/actions?query=workflow%3Abuild)\n\n\nRequirements\n------------\n\nAt least Sphinx version 2.0 is required. However, in order to use all extension features, Sphinx version 2.2.3 or\nhigher is required.\n\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --prefer-dist yiisoft/yii2-sphinx\n```\n\nor add\n\n```json\n\"yiisoft/yii2-sphinx\": \"~2.0.0\"\n```\n\nto the require section of your composer.json.\n\n\nConfiguration\n-------------\n\nThis extension interacts with Sphinx search daemon using MySQL protocol and [SphinxQL](https://sphinxsearch.com/docs/current.html#sphinxql) query language.\nIn order to setup Sphinx \"searchd\" to support MySQL protocol following configuration should be added:\n\n```\nsearchd\n{\n    listen = localhost:9306:mysql41\n    ...\n}\n```\n\nTo use this extension, simply add the following code in your application configuration:\n\n```php\nreturn [\n    //....\n    'components' =\u003e [\n        'sphinx' =\u003e [\n            'class' =\u003e 'yii\\sphinx\\Connection',\n            'dsn' =\u003e 'mysql:host=127.0.0.1;port=9306;',\n            'username' =\u003e '',\n            'password' =\u003e '',\n        ],\n    ],\n];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-sphinx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii2-sphinx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-sphinx/lists"}