biig / elasticsearch
Simple tools to interact with you elasticsearch infrastructure.
Installs: 7 766
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 7
Forks: 2
Open Issues: 1
Requires
- ruflin/elastica: ^6.0
- symfony/console: ^4.0
- symfony/finder: ^4.0
- symfony/options-resolver: ^4.0
- symfony/yaml: ^4.0
Requires (Dev)
- doctrine/orm: ^2.6
- friendsofphp/php-cs-fixer: ^2.10
- fzaninotto/faker: ^1.7
- phpunit/phpunit: ^7.0
- symfony/serializer: ^4.0
- symfony/symfony: ^4.0
README
This library is designed to give you some set of classes you define almost all the time if you use Elastica. This is based on Elastica and do not much for you except standard behavior.
This component will automatically install symfony/console
(+ some other Sf components) and ruflin/elastica
.
Features
- Provide a command to create indexes based on yaml files (it uses symfony/command and is automatically registered if you use the bundle)
- Define client as a service for Symfony if you uses the bundle
Integration to Symfony
Use the bundle :
<?php // In your Kernel class public function registerBundles() { return array( // ... new \Biig\Component\Elasticsearch\Integration\Symfony\ElasticsearchBundle(), // ... ); }
To learn more about the Symfony integration, please checkout the related section of the documentation.