joacub/zf2-sphinxsearch
最新稳定版本:0.7.0
Composer 安装命令:
composer require joacub/zf2-sphinxsearch
包简介
ZF2 integration module for Sphinx Search library
README 文档
README
ZF2 integration module for Sphinx Search library.
This repository contains a ZF2 module that already provides configuration (details here) for Sphinx Search library.
Installation
Using composer:
Add the following to your composer.json file:
"require": {
"php": ">=5.3.3",
"ripaclub/sphinxsearch": "0.7.0"
}
Usage
In order to use this module you need to load it through your ZF2 app config/application.config.php file:
return [ // This should be an array of module namespaces used in the application. 'modules' => [ '...', 'SphinxSearch', // Loading current module in your app 'Application', ], // ... ];
Finally configure the driver connection parameters (for example into your local.config.php file).
Example:
'sphinxql' => array( 'driver' => 'pdo_mysql', 'hostname' => '127.0.0.1', 'port' => 9306, 'charset' => 'UTF8' )
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2015-04-01