easybib / silex-elastica
A Silex Service Provider for Elastica
0.1.1
2014-01-29 16:39 UTC
Requires
- php: >=5.3.2
- ruflin/elastica: ~0.90.2
- silex/silex: ~1.1
This package is not auto-updated.
Last update: 2024-11-09 16:32:21 UTC
README
This is a service provider for Silex which makes access to Elasticsearch available through 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 EasyBib\Service\Elastica\ElasticaServiceProvider(), array( 'elastica.client_options' => array( 'host' => 'localhost', 'port' => 9200, ), ));
The full set of options is available on the Elastica documentation.
Dependencies
- PHP >= 5.3.2
- Elastica >= 0.90.2
Copyright
Author
License
The code is available under the Apache-2.0 license.