# FriendsOfSymfony/FOSElasticaBundle

Elasticsearch PHP integration for your Symfony project using Elastica.

Repository: https://github.com/FriendsOfSymfony/FOSElasticaBundle
Canonical: https://ross.abutalabs.com/products/foselasticabundle
Homepage: http://friendsofsymfony.github.io
Language: PHP
License: MIT
License Family: permissive
Topics: symfony, elastica, elasticsearch, php, symfony-bundle, search, bundle
Last push: 2026-06-02T18:13:55+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 74, longevity 100
- inputs: {"age_days": 5626, "days_push": 92, "days_rel": 93, "gap_med": 38, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1263, forks 789 (observed 2026-08-28T04:04:10.422804+00:00)

## What it is
A Symfony bundle that integrates the Elastica PHP client with Elasticsearch, providing index configuration, serialization, and Doctrine event listeners for automatic indexing. It lets Symfony applications index and search PHP objects in Elasticsearch with minimal configuration.

## Use cases
- add full-text search to a Symfony app with Elasticsearch
- automatically index Doctrine entities into Elasticsearch
- configure Elasticsearch index mappings from Symfony config files
- search PHP objects stored in Elasticsearch using Elastica
- keep Elasticsearch in sync with database changes
- build a product search feature in Symfony

## When to choose
- you have a Symfony application and want Elasticsearch-backed search
- you use Doctrine ORM and want automatic entity indexing
- you want declarative index configuration in a Symfony project

## When to avoid
- your project does not use Symfony
- you use OpenSearch or another Elasticsearch fork without checking compatibility
- you need a framework-agnostic Elasticsearch client (use Elastica directly)

## Facets
- artifact type: library
- maturity: active
- function: search-engine, database, serialization, orm
- domain: web-development, backend, databases
- platform: php, self-hosted
- tags: symfony-bundle, elasticsearch, elastica, doctrine, indexing, full-text-search, search, web-server

## Member repositories
- FriendsOfSymfony/FOSElasticaBundle (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:10.422804+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:04:05.663923+00:00, confidence not recorded.
  - readme: https://github.com/FriendsOfSymfony/FOSElasticaBundle (fetched 2026-08-28T04:04:10.422804+00:00, sha 1be4c06583de)
  - homepage: http://friendsofsymfony.github.io (fetched 2026-08-29T12:16:06.037639+00:00, sha 60865173d1df)
- Data as of 2026-08-30T08:39:29.467469+00:00.
