PHPackages                             mfuturepl/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. [API Development](/categories/api)
4. /
5. mfuturepl/elastica-bundle

ActiveSymfony-bundle[API Development](/categories/api)

mfuturepl/elastica-bundle
=========================

Elasticsearch PHP integration for your Symfony project using Elastica

011PHP

Since Aug 25Pushed 1y agoCompare

[ Source](https://github.com/mFuturePL/FOSElasticaBundle)[ Packagist](https://packagist.org/packages/mfuturepl/elastica-bundle)[ RSS](/packages/mfuturepl-elastica-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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 5.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.4\] (master)^7.17.\*^5.4|^6.4|^7.0^7.4|^8.0\[5.1\] (unmaintained)^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

16

—

LowBetter than 5% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/16b57028f80e62b1be67fde837cc1406615558e99b9878c363c9bedaf6613391?d=identicon)[bartkibilko](/maintainers/bartkibilko)

---

Top Contributors

[![XWB](https://avatars.githubusercontent.com/u/1032281?v=4)](https://github.com/XWB "XWB (614 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)")[![franmomu](https://avatars.githubusercontent.com/u/720690?v=4)](https://github.com/franmomu "franmomu (21 commits)")[![fran6co](https://avatars.githubusercontent.com/u/726088?v=4)](https://github.com/fran6co "fran6co (17 commits)")[![oleg-andreyev](https://avatars.githubusercontent.com/u/1244112?v=4)](https://github.com/oleg-andreyev "oleg-andreyev (15 commits)")[![l3l0](https://avatars.githubusercontent.com/u/209405?v=4)](https://github.com/l3l0 "l3l0 (14 commits)")[![darthf1](https://avatars.githubusercontent.com/u/17253332?v=4)](https://github.com/darthf1 "darthf1 (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)")[![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)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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