bodeezy/laravel-elastica

Laravel 4 Service Provider for Elastica
24
Install
composer require bodeezy/laravel-elastica
Latest Version:0.1
PHP:>=5.4.0
License:MIT
Last Updated:Oct 9, 2014
Links: GitHub  ·  Packagist
Maintainer: bodeezy

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

384,821,166 4,658