PHPackages                             openclassrooms/elasticsearch-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. openclassrooms/elasticsearch-bundle

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

openclassrooms/elasticsearch-bundle
===================================

Symfony2 Bundle for Elasticsearch

07.8kPHP

Since Feb 9Pushed 11y ago26 watchersCompare

[ Source](https://github.com/OpenClassrooms/ElasticsearchBundle)[ Packagist](https://packagist.org/packages/openclassrooms/elasticsearch-bundle)[ RSS](/packages/openclassrooms-elasticsearch-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

ElasticsearchBundle
===================

[](#elasticsearchbundle)

[![Build Status](https://camo.githubusercontent.com/0004478394235aa08f6c853cee0af34dc28fc1b4f76286ef38d24145c8e77e5b/68747470733a2f2f7472617669732d63692e6f72672f4f70656e436c617373726f6f6d732f456c617374696373656172636842756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/OpenClassrooms/ElasticsearchBundle)[![Coverage Status](https://camo.githubusercontent.com/cae0542f5b7bdea4ab8d14bd09c423f08e3d1d0d133d6354bd89633039828b68/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f4f70656e436c617373726f6f6d732f456c617374696373656172636842756e646c652e737667)](https://coveralls.io/r/OpenClassrooms/ElasticsearchBundle?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/a02c81262c3768fe9aad3ec0469ae60b9165a8403f2b31280a2146617f063607/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64643438396266652d393862662d343834662d383136662d3833306665373331393738302f6d696e692e706e67)](https://insight.sensiolabs.com/projects/dd489bfe-98bf-484f-816f-830fe7319780)

Symfony2 Bundle that expose Elasticsearch official client configuration

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

[](#installation)

This bundle can be installed using composer:

`composer require openclassrooms/use-case-bundle`or by adding the package to the composer.json file directly.

```
{
    "require": {
        "openclassrooms/elasticsearch-bundle": "*"
    }
}
```

After the package has been installed, add the bundle to the AppKernel.php file:

```
// in AppKernel::registerBundles()
    $bundles = array(
        // ...
        new OpenClassrooms\Bundle\ElasticsearchBundle\OpenClassroomsElasticsearchBundle(),
        // ...
);
```

Configuration
-------------

[](#configuration)

Add the elasticsearch hosts to the config.yml

```
open_classrooms_elasticsearch:
    clients:
        client_name:
            hosts :
                - host
                - 127.0.0.1
        second_client_name:
            hosts :
                - second-host
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/d82b0e2dcc1728eacb2b83c259311b5ea7c3253bd08f1341d45df79bdd9ba77a?d=identicon)[openclassrooms-admin](/maintainers/openclassrooms-admin)

![](https://www.gravatar.com/avatar/a4eaa1e2bd9272e248e28561739200cbcfd705cc4d3fec9d3e4d595f3dd12165?d=identicon)[romainkuzniak](/maintainers/romainkuzniak)

### Embed Badge

![Health badge](/badges/openclassrooms-elasticsearch-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/openclassrooms-elasticsearch-bundle/health.svg)](https://phpackages.com/packages/openclassrooms-elasticsearch-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)
