Skip to content

Basster/cilex-elastica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basster/cilex-elastica

Build Status SensioLabsInsight

This is a service provider for Cilex which makes access to Elasticsearch available through Elastica.

This library is a Cilex adaptation of easybib/silex-elastica.

Getting Started

Set up the dependency on this package using Composer. Once you have a Silex application skeleton you can register the service provider and set Elastica options:

$app->register(new Basster\Cilex\Elastica\Provider\ElasticaProvider(), [
    'elastica.client_options' => [
        'host' => 'localhost',
        'port' => 9200,
    ],
]);

The full set of options is available on the Elastica documentation.

License

The code is available under the MIT license.

About

Cilex service provider for Elastica

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages