madewithlove / elasticsearcher-laravel
Elasticsearcher provider for Laravel
Installs: 17 655
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 1
Open Issues: 5
Requires
- madewithlove/elasticsearcher: ^0.5.0
This package is not auto-updated.
Last update: 2022-09-30 11:25:48 UTC
README
This package allows easier implementation of the madewithlove/elasticsearcher package. More information on their docs.
Installation
-
Installation of the latest version is easy via composer:
composer require madewithlove/elasticsearcher-laravel
-
Update config/app.php to register the provider
# Add `Madewithlove\ElasticSearcherLaravel\ServiceProvider` to the `providers` array 'providers' => array( ... Madewithlove\ElasticSearcherLaravel\ServiceProvider::class, )
-
Publish the configuration file
config/elasticsearcher.php
php artisan vendor:publish --provider="Madewithlove\ElasticSearcherLaravel\ServiceProvider"
Usage
Configuration
You can use config/elasticsearcher.php
for configuring elasticsearcher.
Console
php artisan search:create-index <index-name>