Skip to content
Philip Manavopoulos edited this page Mar 2, 2015 · 2 revisions

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

Add Larasearch to your composer.json file:

composer require iverberk/larasearch

Add the service provider to your Laravel application config:

'Iverberk\Larasearch\LarasearchServiceProvider'