PHPackages                             et-soft/fos-elastica-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. et-soft/fos-elastica-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

et-soft/fos-elastica-bundle
===========================

Elasticsearch PHP integration for your Symfony project using Elastica

v5.2.1.6(4y ago)010MITPHPPHP ^7.1 || ^8.0

Since Mar 27Pushed 4y agoCompare

[ Source](https://github.com/et-soft/fos-elastica-bundle)[ Packagist](https://packagist.org/packages/et-soft/fos-elastica-bundle)[ Docs](https://github.com/FriendsOfSymfony/FOSElasticaBundle)[ RSS](/packages/et-soft-fos-elastica-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (22)Versions (73)Used By (0)

FOSElasticaBundle
=================

[](#foselasticabundle)

This bundle provides integration with [Elasticsearch](http://www.elasticsearch.org) and [Elastica](https://github.com/ruflin/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](https://github.com/FriendsOfSymfony/FOSElasticaBundle/workflows/Continuous%20integration/badge.svg?branch=master)](https://github.com/FriendsOfSymfony/FOSElasticaBundle/actions?query=workflow%3A%22Continuous%20integration%22%20branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/b21a1aaf9fa7f2744c8513c6bc8c72e44b18742866b6d25bde860133e8834adb/68747470733a2f2f706f7365722e707567782e6f72672f667269656e64736f6673796d666f6e792f656c6173746963612d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/friendsofsymfony/elastica-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/91bdbc28cf5c834cf294fc60731fefb82db01dde9291da369322e4bba6c63ca1/68747470733a2f2f706f7365722e707567782e6f72672f667269656e64736f6673796d666f6e792f656c6173746963612d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/friendsofsymfony/elastica-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/f9c8160bf9778885819e4194fa8ff196025f019fa9fcaf28032f68e8479d9187/68747470733a2f2f706f7365722e707567782e6f72672f667269656e64736f6673796d666f6e792f656c6173746963612d62756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/friendsofsymfony/elastica-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e58f2651c6adf8ebe056a12ed359651dc9815da2cdb7df7ebb06e8f2318d3765/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f467269656e64734f6653796d666f6e792f464f53456c61737469636142756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/FriendsOfSymfony/FOSElasticaBundle/?branch=master)

Documentation
-------------

[](#documentation)

Documentation for FOSElasticaBundle is in [`doc/index.md`](doc/index.md)

Installation
------------

[](#installation)

Installation instructions can be found in the [documentation](doc/setup.md)

Versions &amp; Dependencies
---------------------------

[](#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](https://github.com/symfony/recipes-contrib/tree/master/friendsofsymfony/elastica-bundle/5.0). 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.

FOSElasticaBundleElasticaElasticsearchSymfonyPHP\[6.0\] (master)^7.17.\*^4.4|^5.1&gt;=7.2\[5.1\] (5.1.x)^5.3|^65.\*|6.\*^3.4|^4&gt;=7.1\[5.0\] (unmaintained)^5.2|^65.\*|6.\*^3.2|^4&gt;=5.6\[4.x\] (unmaintained)3.2.\*2.\*^2.8|^3.2&gt;=5.5\[3.2.x\] (unmaintained)^2.11.\*^2.3|^3&gt;=5.3License
-------

[](#license)

This bundle is released under the MIT license. See the included [LICENSE](LICENSE) file for more information.

###  Health Score

34

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~44 days

Recently: every ~0 days

Total

71

Last Release

1635d ago

Major Versions

v4.1.0 → v5.0.02017-12-18

v4.1.2 → v5.0.22018-01-03

v5.1.1 → v6.0.0-beta12020-09-15

v5.2.0 → v6.0.0-beta22020-09-24

5.x-dev → v6.0.0-beta42021-05-24

PHP version history (8 changes)v1.0.0PHP &gt;=5.3.2

v4.0.0PHP &gt;=5.5.0

v5.0.0PHP &gt;=5.6.0

v5.0.2PHP ^5.6.0|^7.0

v5.1.0PHP ^7.1

v6.0.0-beta1PHP ^7.2

v6.0.0-beta4PHP ^7.2 || ^8.0

v5.2.1.6PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce6f8273f347af645342225a7d176abb63a22aa6a56525909b91262db099a99e?d=identicon)[et-soft](/maintainers/et-soft)

---

Top Contributors

[![XWB](https://avatars.githubusercontent.com/u/1032281?v=4)](https://github.com/XWB "XWB (524 commits)")[![merk](https://avatars.githubusercontent.com/u/278097?v=4)](https://github.com/merk "merk (387 commits)")[![richardmiller-zz](https://avatars.githubusercontent.com/u/783827?v=4)](https://github.com/richardmiller-zz "richardmiller-zz (167 commits)")[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (149 commits)")[![deguif](https://avatars.githubusercontent.com/u/993399?v=4)](https://github.com/deguif "deguif (144 commits)")[![makasim](https://avatars.githubusercontent.com/u/143206?v=4)](https://github.com/makasim "makasim (133 commits)")[![ornicar](https://avatars.githubusercontent.com/u/140370?v=4)](https://github.com/ornicar "ornicar (90 commits)")[![Tobion](https://avatars.githubusercontent.com/u/610090?v=4)](https://github.com/Tobion "Tobion (53 commits)")[![leabaertschi](https://avatars.githubusercontent.com/u/564566?v=4)](https://github.com/leabaertschi "leabaertschi (42 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (35 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (29 commits)")[![fran6co](https://avatars.githubusercontent.com/u/726088?v=4)](https://github.com/fran6co "fran6co (17 commits)")[![l3l0](https://avatars.githubusercontent.com/u/209405?v=4)](https://github.com/l3l0 "l3l0 (14 commits)")[![oleg-andreyev](https://avatars.githubusercontent.com/u/1244112?v=4)](https://github.com/oleg-andreyev "oleg-andreyev (13 commits)")[![craigmarvelley](https://avatars.githubusercontent.com/u/265907?v=4)](https://github.com/craigmarvelley "craigmarvelley (13 commits)")[![damienalexandre](https://avatars.githubusercontent.com/u/225704?v=4)](https://github.com/damienalexandre "damienalexandre (13 commits)")[![darthf1](https://avatars.githubusercontent.com/u/17253332?v=4)](https://github.com/darthf1 "darthf1 (13 commits)")[![jandom](https://avatars.githubusercontent.com/u/395931?v=4)](https://github.com/jandom "jandom (11 commits)")[![WhatsOn](https://avatars.githubusercontent.com/u/2388516?v=4)](https://github.com/WhatsOn "WhatsOn (11 commits)")[![cassianotartari](https://avatars.githubusercontent.com/u/3017642?v=4)](https://github.com/cassianotartari "cassianotartari (10 commits)")

---

Tags

searchelasticsearchdoctrine2mongodbelastica

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/et-soft-fos-elastica-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/et-soft-fos-elastica-bundle/health.svg)](https://phpackages.com/packages/et-soft-fos-elastica-bundle)
```

###  Alternatives

[friendsofsymfony/elastica-bundle

Elasticsearch PHP integration for your Symfony project using Elastica

1.3k17.0M45](/packages/friendsofsymfony-elastica-bundle)[fazland/elastica-bundle

Elasticsearch PHP integration for your Symfony2 project using Elastica

1683.4k](/packages/fazland-elastica-bundle)[doctrine/mongodb-odm-bundle

Symfony Doctrine MongoDB Bundle

38418.3M178](/packages/doctrine-mongodb-odm-bundle)[omines/datatables-bundle

Symfony DataTables Bundle with native Doctrine ORM, Elastica and MongoDB support

2831.4M6](/packages/omines-datatables-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
