LaravelPackages.net
Acme Inc.
Toggle sidebar
bodeezy/laravel-elastica

Laravel 4 Service Provider for Elastica

24
0
0.1
About bodeezy/laravel-elastica

bodeezy/laravel-elastica is a Laravel package for laravel 4 service provider for elastica. It currently has 0 GitHub stars and 24 downloads on Packagist (latest version 0.1). Install it with composer require bodeezy/laravel-elastica. Discover more Laravel packages by bodeezy or browse all Laravel packages to compare alternatives.

Last updated

Elastica for Laravel 4

Build Status

This is a Laravel 4 Service Provider for the Elastica Elasticsearch Client

Installation

Require laravel-elastica in composer.

composer require srtfisher/laravel-elastica:0.*

Add it to your providers in config/app.php

'bodeezy\LaravelElastica\LaravelElasticaServiceProvider'

Add it to your aliases:

'Ef' => 'bodeezy\LaravelElastica\LaravelElasticaFacade'

Okay, you would be good to go.

Configuration

You can use the default configuration to connect to your localhost:9200 server. Or you could publish the configuration and change the server.

$ php artisan config:publish bodeezy/laravel-elastica

The configuration will be passed to the client constructor. Information on Elastica configuration can be found at http://elastica.io/getting-started/installation.html.

Comments