Package Data | |
---|---|
Maintainer Username: | bodeezy |
Maintainer Contact: | hi@seanfisher.co (Sean Fisher) |
Package Create Date: | 2016-04-27 |
Package Last Update: | 2016-04-27 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-25 15:03:01 |
Package Statistics | |
---|---|
Total Downloads: | 23 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This is a Laravel 4 Service Provider for the Elastica Elasticsearch Client
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.
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.