All Projects → yiisoft → Yii2 Sphinx

yiisoft / Yii2 Sphinx

Licence: bsd-3-clause
Yii 2 Sphinx extension.

Projects that are alternatives of or similar to Yii2 Sphinx

Yii2 App Advanced
Yii 2.0 Advanced Application Template
Stars: ✭ 1,569 (+812.21%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Twig
Yii 2 Twig extension.
Stars: ✭ 130 (-24.42%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Imagine
Yii 2 imagine extension
Stars: ✭ 271 (+57.56%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Apidoc
Yii 2 apidoc extension.
Stars: ✭ 236 (+37.21%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Redis
Yii 2 Redis extension.
Stars: ✭ 416 (+141.86%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Swiftmailer
Yii 2 swiftmailer extension.
Stars: ✭ 109 (-36.63%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Jui
Yii 2 JQuery UI extension.
Stars: ✭ 120 (-30.23%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Debug
Debug Extension for Yii 2
Stars: ✭ 179 (+4.07%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Httpclient
Yii 2 HTTP client
Stars: ✭ 406 (+136.05%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Elasticsearch
Yii 2 Elasticsearch extension
Stars: ✭ 401 (+133.14%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2
Yii 2: The Fast, Secure and Professional PHP Framework
Stars: ✭ 13,852 (+7953.49%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Smarty
Yii 2 Smarty Extension.
Stars: ✭ 67 (-61.05%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Bootstrap4
Yii 2 Bootstrap 4 Extension
Stars: ✭ 204 (+18.6%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Shell
Interactive shell
Stars: ✭ 129 (-25%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Gii
Yii 2 Gii Extension
Stars: ✭ 183 (+6.4%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Docker
Official Docker images suitable for Yii 2.0
Stars: ✭ 286 (+66.28%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Bootstrap
Yii 2 Bootstrap 3 Extension
Stars: ✭ 177 (+2.91%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Mongodb
Yii 2 MongoDB extension
Stars: ✭ 299 (+73.84%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 App Basic
Yii 2.0 Basic Application Template
Stars: ✭ 548 (+218.6%)
Mutual labels:  hacktoberfest, yii2, yii
Yii2 Openapi
REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
Stars: ✭ 99 (-42.44%)
Mutual labels:  hacktoberfest, yii2, yii

Sphinx Extension for Yii 2


This extension adds Sphinx full text search engine extension for the Yii framework 2.0. It supports all Sphinx features including Real-time Indexes.

For license information check the LICENSE-file.

Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build status

Requirements

At least Sphinx version 2.0 is required. However, in order to use all extension features, Sphinx version 2.2.3 or higher is required.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yiisoft/yii2-sphinx

or add

"yiisoft/yii2-sphinx": "~2.0.0"

to the require section of your composer.json.

Configuration

This extension interacts with Sphinx search daemon using MySQL protocol and SphinxQL query language. In order to setup Sphinx "searchd" to support MySQL protocol following configuration should be added:

searchd
{
    listen = localhost:9306:mysql41
    ...
}

To use this extension, simply add the following code in your application configuration:

return [
    //....
    'components' => [
        'sphinx' => [
            'class' => 'yii\sphinx\Connection',
            'dsn' => 'mysql:host=127.0.0.1;port=9306;',
            'username' => '',
            'password' => '',
        ],
    ],
];
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].