joacub/zf2-sphinxsearch 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

joacub/zf2-sphinxsearch

最新稳定版本:0.7.0

Composer 安装命令:

composer require joacub/zf2-sphinxsearch

包简介

ZF2 integration module for Sphinx Search library

README 文档

README

Latest Stable Version

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'
)

Analytics

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2015-04-01