ElasticCat
Map Elasticsearch results to Eloquent models
installation
- Add the package to your
composer.json
file and runcomposer update
:
{
"require": {
"argb/elastic-cat": "^1.0"
}
}
- Add the service provider to your
config/app.php
file, inside theproviders
array:'ArgbElasticCatBouncyServiceProvider'
- Publish the config file by running the following command in the terminal:
php artisan vendor:publish
- Edit the config files:
config/bouncy.php
for Bouncy specific options andconfig/elasticsearch.php
for configuring the ElasticSearch client.