定制 egwk/laravel-scout-sphinx 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

egwk/laravel-scout-sphinx

Composer 安装命令:

composer require egwk/laravel-scout-sphinx

包简介

Sphinx Search Engine for Laravel Scout.

README 文档

README

Sphinx Search Engine for Laravel Scout. Forked from https://github.com/hocnt84/laravel-scout-sphinx Note: Pagination did not work with the original repo. Maybe it's due a Query Builder issue. This is the only reason we've created this fork.

Prerequisites

You should have Sphinx service installed, see: http://sphinxsearch.com/

Install

Installing via composer

Use composer require to install the Engine.

$ composer require egwk/laravel-scout-sphinx

Configuration

Update config/scout.php, and add an entry for sphinx:

//
'sphinx' => [
        'host' => env('SCOUT_HOST', 'localhost'),
        'port' => env('SCOUT_PORT', '9306'),
],
//

Set SCOUT_* variables in your .env file:

SCOUT_DRIVER=sphinxsearch
SCOUT_PREFIX=myprefix_
SCOUT_HOST=localhost
SCOUT_PORT=9306

Adding to your project

Update config/app.php by adding an entry for the service provider:

'providers' => [
    // ...
   Egwk\LaravelScoutSphinx\Provider\SphinxEngineProvider::class,
];

See Laravel Scout Docs for further info.

Authors

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固