Download the PHP package nodtem66/elasticquent without Composer
On this page you can find all versions of the php package nodtem66/elasticquent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nodtem66/elasticquent
More information about nodtem66/elasticquent
Files in nodtem66/elasticquent
Package elasticquent
Short Description Maps Laravel Eloquent models to Elasticsearch types with cviebrock/laravel-elasticsearch
License MIT
Homepage https://github.com/nodtem66/Elasticquent
Informations about the package elasticquent
nodtem66/Elasticquent
Forked from original: elasticquent/elasticquent with cviebrock/laravel-elasticsearch to support the AWS
- API Document
- Overview
- Installation
Elasticsearch Requirements
You must be running at least Elasticsearch 6.0. Otherwies, you have to custom the dependency cviebrock/laravel-elasticsearch
.
API Documentation
For Eloquent model: elasticquent/elasticquent For Elasticsearch client: cviebrock/laravel-elasticsearch
Overview
Elasticquent allows you take an Eloquent model and easily index and search its contents in Elasticsearch.
When you search, instead of getting a plain array of search results, you instead get an Eloquent collection with some special Elasticsearch functionality.
Plus, you can still use all the Eloquent collection functionality:
Installation
- Install the current version via composer:
Based on cviebrock/laravel-elasticsearch document, The package's service provider will automatically register its service provider.
-
Publish the configuration file:
- Then add the Elasticquent trait to any Eloquent model that you want to be able to index in Elasticsearch:
Basic Elasticsearch client usage
All versions of elasticquent with dependencies
illuminate/database Version ~4.2|^5
illuminate/config Version ~4.2|^5
nesbot/carbon Version ~1.0
cviebrock/laravel-elasticsearch Version ^3.4