basster / cilex-elastica
A Cilex Service Provider for Elastica
Installs: 375
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/basster/cilex-elastica
Requires
- cilex/cilex: ^1.1
- ruflin/elastica: ^2.1
Requires (Dev)
- phpunit/phpunit: ^4.8
This package is auto-updated.
Last update: 2025-10-22 08:24:55 UTC
README
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.