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

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

m6web/elasticsearch-bundle
==========================

Symfony2 Bundle on top of elasticsearch/elasticsearch-php

v4.1.0(2y ago)22631.8k↑23.9%19[2 PRs](https://github.com/BedrockStreaming/ElasticsearchBundle/pulls)2MITPHPPHP &gt;=7.4

Since Nov 7Pushed 2y ago49 watchersCompare

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

READMEChangelog (10)Dependencies (9)Versions (30)Used By (2)

ElasticsearchBundle [![Build Status](https://github.com/BedrockStreaming/ElasticsearchBundle/actions/workflows/ci.yml/badge.svg)](https://github.com/BedrockStreaming/ElasticsearchBundle/actions/workflows/ci.yml) [![Total Downloads](https://camo.githubusercontent.com/928de613eba347564af4e99e3ca3445915e88e23545eeb023d1c554693c28ccf/68747470733a2f2f706f7365722e707567782e6f72672f6d367765622f656c61737469637365617263682d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/m6web/elasticsearch-bundle) [![License](https://camo.githubusercontent.com/a522623eaef184168f406705681d7bf33844088b20b3109aac26e7774cbd3320/687474703a2f2f706f7365722e707567782e6f72672f6d367765622f656c61737469637365617263682d62756e646c652f6c6963656e7365)](https://packagist.org/packages/m6web/elasticsearch-bundle) [![PHP Version Require](https://camo.githubusercontent.com/ffffc2c28c07c25f17cd36d68b2465c8b4224c945e18e825b682702a5fdf2faa/687474703a2f2f706f7365722e707567782e6f72672f6d367765622f656c61737469637365617263682d62756e646c652f726571756972652f706870)](https://packagist.org/packages/m6web/elasticsearch-bundle)
=======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#elasticsearchbundle----)

Integration of the [Elasticsearch official PHP client](http://github.com/elasticsearch/elasticsearch-php) within a Symfony Project.

Features
--------

[](#features)

This bundle creates one or more Elasticsearch client services from settings defined in the application configuration.

Usage
-----

[](#usage)

### Installation

[](#installation)

You must first add the bundle to your `composer.json`:

```
    "require": {
        "m6web/elasticsearch-bundle": "dev-master"
    }
```

Then register the bundle in your `AppKernel` class:

```
