birdoffice/elastica-bundle
Elasticsearch PHP integration for your Symfony project using Elastica
Maintainers
Package info
github.com/BirdOffice/FOSElasticaBundle
Type:symfony-bundle
pkg:composer/birdoffice/elastica-bundle
Requires
- php: ^7.4 || ^8.0
- pagerfanta/pagerfanta: ^2.4 || ^3.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- ruflin/elastica: ^7.1
- symfony/console: ^4.4 || ^5.4 || ^6.0
- symfony/dependency-injection: ^4.4 || ^5.4 || ^6.0
- symfony/framework-bundle: ^4.4 || ^5.4 || ^6.0
- symfony/property-access: ^4.4 || ^5.4 || ^6.0
Requires (Dev)
- doctrine/doctrine-bundle: ^2.1.1
- doctrine/mongodb-odm: ^2.2
- doctrine/orm: ^2.8
- doctrine/phpcr-odm: ^1.4
- friendsofphp/php-cs-fixer: ^3.0
- jackalope/jackalope-doctrine-dbal: ^1.2
- jms/serializer: ^3.8
- jms/serializer-bundle: ^3.5 || ^4.0
- knplabs/knp-components: ^2.4 || ^3.0
- pagerfanta/doctrine-mongodb-odm-adapter: ^2.4 || ^3.0
- pagerfanta/doctrine-orm-adapter: ^2.4 || ^3.0
- pagerfanta/doctrine-phpcr-odm-adapter: ^2.4 || ^3.0
- phpunit/phpunit: ^9.5
- symfony/expression-language: ^4.4 || ^5.4 || ^6.0
- symfony/messenger: ^4.4 || ^5.4 || ^6.0
- symfony/serializer: ^4.4 || ^5.4 || ^6.0
- symfony/twig-bundle: ^4.4 || ^5.4 || ^6.0
- symfony/web-profiler-bundle: ^4.4 || ^5.4 || ^6.0
- symfony/yaml: ^4.4 || ^5.4 || ^6.0
Suggests
- enqueue/elastica-bundle: For populating Elasticsearch indexes asynchronously and using significanly less resources. Uses Enqueue.
- symfony/messenger: For populating Elasticsearch indexes asynchronously and using significanly less resources.
Provides
None
Conflicts
None
Replaces
None
MIT f97363dcd1cf38741efac87f96f3de1919f107a7
This package is auto-updated.
Last update: 2026-06-08 02:52:59 UTC
README
This bundle provides integration with Elasticsearch and Elastica with Symfony. Features include:
- Integrates the Elastica library into a Symfony environment
- Use JmsSerializer or Symfony Serializer to convert between PHP objects and Elasticsearch data
- Index configuration for Elasticsearch, or send data without configuration to use the dynamic mapping feature of Elasticsearch
- Listeners for Doctrine events for automatic indexing
👁 Build Status
👁 Total Downloads
👁 Latest Stable Version
👁 Latest Unstable Version
👁 Scrutinizer Code Quality
Documentation
Documentation for FOSElasticaBundle is in doc/index.md
Installation
Installation instructions can be found in the documentation
Versions & Dependencies
Version 6 of the FOSElasticaBundle is compatible with Elasticsearch 7. It requires Symfony 4.4 or greater. When using Symfony Flex there is also a recipe to ease the setup. Earlier versions of the FOSElasticaBundle are not maintained anymore and only work with older versions of the dependencies. The following table shows the compatibilities of different versions of the bundle.
| FOSElasticaBundle | Elastica | Elasticsearch | Symfony | PHP |
|---|---|---|---|---|
| [6.0] (master) | ^7.1 | 7.* | ^4.4|^5.4|^6.0 | >=7.4 |
| [5.1] (5.1.x) | ^5.3|^6 | 5.*|6.* | ^3.4|^4 | >=7.1 |
| [5.0] (unmaintained) | ^5.2|^6 | 5.*|6.* | ^3.2|^4 | >=5.6 |
| [4.x] (unmaintained) | 3.2.* | 2.* | ^2.8|^3.2 | >=5.5 |
| [3.2.x] (unmaintained) | ^2.1 | 1.* | ^2.3|^3 | >=5.3 |
License
This bundle is released under the MIT license. See the included LICENSE file for more information.
