ripaclub/zf2-sphinxsearch
最新稳定版本:0.8.0
Composer 安装命令:
composer require ripaclub/zf2-sphinxsearch
包简介
ZF2 module for Sphinx Search library
关键字:
README 文档
README
Zend Framework 2 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.5",
"ripaclub/zf2-sphinxsearch": "~0.8.0"
}
Usage
You only need to load this module through your Zend Framework 2 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', ], // ... ];
And, finally configure the driver connection parameters (for example into your local.config.php file).
Example:
'sphinxql' => [ 'driver' => 'pdo_mysql', 'hostname' => '127.0.0.1', 'port' => 9306, 'charset' => 'UTF8' ],
Done. Happy querying with Sphinx Search library!
统计信息
- 总下载量: 7.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 2
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2014-02-01