menthol / flexible
This package is abandoned and no longer maintained.
The author suggests using the tamayo/laravel-scout-elastic package instead.
Elasticsearch enabled Eloquent models
dev-master
2016-02-12 10:54 UTC
Requires
- php: >=5.4.0
- elasticsearch/elasticsearch: ~2.0
- illuminate/config: ~4.2|~5.0
- illuminate/console: ~4.2|~5.0
- illuminate/database: ~4.2|~5.0
- illuminate/support: ~4.2|~5.0
- monolog/monolog: ~1.6
- nikic/php-parser: ~0.9
Requires (Dev)
- codeception/aspect-mock: *
- mockery/mockery: ~0.9
- phpunit/phpunit: 4.4.*
This package is not auto-updated.
Last update: 2022-02-01 12:54:57 UTC
README
Flexible is a Laravel 4 and 5 package that aims to seamlessly integrate Elasticsearch functionality with the Eloquent ORM.
WIP
The API can be changed (and will) without warning until the first beta tag.
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:
"menthol/flexible": "dev-master"
Add the service provider to your Laravel application config:
'Menthol\Flexible\FlexibleServiceProvider'
Credits
This package is very much inspired by these excellent packages that already exist.