gbprod / elastica-universal-module
This package is abandoned and no longer maintained.
No replacement package was suggested.
Cross-framework module for ruflin/Elastica
dev-master
2016-11-12 09:14 UTC
Requires
Requires (Dev)
- phpunit/phpunit: ^5.6
This package is auto-updated.
Last update: 2021-08-07 10:28:05 UTC
README
This package integrates Elastica in any container-interop compatible framework/container.
Installation
composer require gbprod/elastica-universal-module
Once installed, you need to register the GBProd\ElasticaServiceProvider
into your container.
Introduction
This service provider is meant to create an Elasticsearch client using Elastica.
This service provider accepts an optional parameter in the constructor: a "suffix" that can be used if you want many different instances.
Expected values / services
This service provider expects the following configuration / services to be available:
Name | Compulsory | Description |
---|---|---|
Elastica\Client[.suffix].host |
yes | Elasticsearch host |
Elastica\Client[.suffix].port |
yes | Elasticsearch port |
Provided services
This service provider provides the following services:
Service name | Description |
---|---|
Elastica\Client[.suffix] |
Elastica client |