PHPackages                             fos-gregooz/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. fos-gregooz/elastica-bundle

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

fos-gregooz/elastica-bundle
===========================

Elasticsearch PHP integration for your Symfony project using Elastica

v5.0.3(8y ago)02.4kMITPHPPHP ^5.6.0|^7.0

Since Mar 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/GregHubs/FOSElasticaBundle)[ Packagist](https://packagist.org/packages/fos-gregooz/elastica-bundle)[ Docs](https://github.com/FriendsOfSymfony/FOSElasticaBundle)[ RSS](/packages/fos-gregooz-elastica-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (20)Versions (62)Used By (0)

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

[](#foselasticabundle)

This bundle is a fork from FOSElasticaBundle (5.0.3), with extended functionalities.

New features
------------

[](#new-features)

- --id option added to allow the populate of a single object. The type and index are mantadory parameters.

About the original bundle
-------------------------

[](#about-the-original-bundle)

It 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://camo.githubusercontent.com/d55dc08da660eb33a7569acfb58ebcf897cb4038dbebd496d27070c4328ecdd8/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f467269656e64734f6653796d666f6e792f464f53456c61737469636142756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/FriendsOfSymfony/FOSElasticaBundle) [![Total Downloads](https://camo.githubusercontent.com/5b5a1e7f0e9e1850aa55a33cb6a7439ae6bab217085c9985a8d6dadf0aef9a35/68747470733a2f2f706f7365722e707567782e6f72672f467269656e64734f6653796d666f6e792f656c6173746963612d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/FriendsOfSymfony/elastica-bundle) [![Latest Stable Version](https://camo.githubusercontent.com/70dd7b37a763bde3ad6ab9a1df386b2a790587fbe0b3d7d0ee5ba29076d1c970/68747470733a2f2f706f7365722e707567782e6f72672f467269656e64734f6653796d666f6e792f656c6173746963612d62756e646c652f762f737461626c652e706e67)](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)^77.\*^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 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity72

Established project with proven stability

 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 ~33 days

Recently: every ~43 days

Total

58

Last Release

2941d ago

Major Versions

v2.1.3-PL1 → v3.0.0-alpha12014-02-19

v3.2.3 → v4.0.02017-03-30

v3.2.4 → v4.0.12017-08-10

v4.1.0 → v5.0.02017-12-18

v4.1.2 → v5.0.22018-01-03

PHP version history (4 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

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17002578?v=4)[Gregory Pons](/maintainers/GregHubs)[@GregHubs](https://github.com/GregHubs)

---

Top Contributors

[![XWB](https://avatars.githubusercontent.com/u/1032281?v=4)](https://github.com/XWB "XWB (501 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)")[![makasim](https://avatars.githubusercontent.com/u/143206?v=4)](https://github.com/makasim "makasim (133 commits)")[![deguif](https://avatars.githubusercontent.com/u/993399?v=4)](https://github.com/deguif "deguif (106 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)")[![GregHubs](https://avatars.githubusercontent.com/u/17002578?v=4)](https://github.com/GregHubs "GregHubs (18 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)")[![damienalexandre](https://avatars.githubusercontent.com/u/225704?v=4)](https://github.com/damienalexandre "damienalexandre (13 commits)")[![craigmarvelley](https://avatars.githubusercontent.com/u/265907?v=4)](https://github.com/craigmarvelley "craigmarvelley (13 commits)")[![darthf1](https://avatars.githubusercontent.com/u/17253332?v=4)](https://github.com/darthf1 "darthf1 (12 commits)")[![WhatsOn](https://avatars.githubusercontent.com/u/2388516?v=4)](https://github.com/WhatsOn "WhatsOn (11 commits)")[![jandom](https://avatars.githubusercontent.com/u/395931?v=4)](https://github.com/jandom "jandom (11 commits)")

---

Tags

searchelasticsearchdoctrine2mongodbelastica

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/elastica-bundle

Elasticsearch PHP integration for your Symfony project using Elastica

1.3k17.7M49](/packages/friendsofsymfony-elastica-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

51390.8k3](/packages/web-auth-webauthn-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[fazland/elastica-bundle

Elasticsearch PHP integration for your Symfony2 project using Elastica

1683.4k](/packages/fazland-elastica-bundle)

PHPackages © 2026

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