Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.

Introduction

nath edited this page Jan 22, 2016 · 3 revisions

Flexible 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 Flexible to your composer.json file:

composer require menthol/flexible

Add the service provider to your Laravel application config:

'Menthol\Flexible\FlexibleServiceProvider'