madewithlove/elasticsearcher-laravel

This package is abandoned and no longer maintained. No replacement package was suggested.

Elasticsearcher provider for Laravel

0.5.1 2017-02-03 15:10 UTC

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

  1. Installation of the latest version is easy via composer:

    composer require madewithlove/elasticsearcher-laravel
    
  2. Update config/app.php to register the provider

    # Add `Madewithlove\ElasticSearcherLaravel\ServiceProvider` to the `providers` array
    'providers' => array(
    		...
    		Madewithlove\ElasticSearcherLaravel\ServiceProvider::class,
    )
  3. 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>