iverberk/larasearch
最新稳定版本:0.8.0
Composer 安装命令:
composer require iverberk/larasearch
包简介
Elasticsearch enabled Eloquent models
README 文档
README
Larasearch is a Laravel package that aims to seamlessly integrate Elasticsearch functionality with the Eloquent ORM.
Features
- Plug 'n Play searching functionality for Eloquent models
- Automatic creation/indexing based on Eloquent model properties and relations
- Aggregations, Suggestions, Autocomplete, Highlighting, etc. It's all there!
- Load Eloquent models based on Elasticsearch queries
- Automatic reindexing on updates of (related) Eloquent models
Installation
Laravel 5
NB: This is preliminary support. When L5 compatibility is stable I will tag it with a version.
Add Larasearch to your composer.json file:
"iverberk/larasearch": "dev-L5"
Add the service provider to your Laravel application config:
'Iverberk\Larasearch\LarasearchServiceProvider'
Laravel 4
Add Larasearch to your composer.json file:
"iverberk/larasearch": "0.8.0"
Add the service provider to your Laravel application config:
'Iverberk\Larasearch\LarasearchServiceProvider'
Wiki
Please see the Github wiki for the most up-to-date documentation.
Changelog
All releases are tracked and documented in the changelog.
Credits
This package is very much inspired by these excellent packages that already exist for the Ruby/Rails ecosystem.
A lot of their ideas have been reused to work within a PHP/Laravel environment.
统计信息
- 总下载量: 15.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 224
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-04