Skip to content

eNRJ/silex-elastica

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easybib/silex-elastica

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

Imagine Easy Solutions, LLC

Author

License

The code is available under the 2 Clause BSD license.

About

Silex Service Provider for Elastica

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%