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

AbandonedArchivedBundle

gbprod/elasticsearch-extra-bundle
=================================

Extra tools for m6web/elasticsearch-bundle

v0.1.0(10y ago)1232[6 issues](https://github.com/gbprod/elasticsearch-extra-bundle/issues)MITPHPPHP &gt;=5.5

Since Mar 25Pushed 9y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

ElasticsearchExtraBundle
========================

[](#elasticsearchextrabundle)

[![stability-deprecated](https://camo.githubusercontent.com/408c8423328d04c59746fe8f297aa774fc1f13802e4131f519fa82823b571509/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d646570726563617465642d7265642e737667)](https://camo.githubusercontent.com/408c8423328d04c59746fe8f297aa774fc1f13802e4131f519fa82823b571509/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73746162696c6974792d646570726563617465642d7265642e737667)

I will not maintain this bundle anymore, prefer [elastica-extra-bundle](https://github.com/gbprod/elastica-extra-bundle).

[![Build Status](https://camo.githubusercontent.com/9a2c0708a479c2f49a7cc7c6df1688f198ab986821bebf106974fd14ed32001c/68747470733a2f2f7472617669732d63692e6f72672f676270726f642f656c61737469637365617263682d65787472612d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gbprod/elasticsearch-extra-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9a7af13dcc70e29d969bcbb18d0e9fe2ab0ac3743923620200433822bcbec8a0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676270726f642f656c61737469637365617263682d65787472612d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gbprod/elasticsearch-extra-bundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/e9172371acbcf98a4e08d6260fb78b691d41bb3568b9b8e020b0cd1a94e35f0a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676270726f642f656c61737469637365617263682d65787472612d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gbprod/elasticsearch-extra-bundle/?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/0377900810c4b3af246fcc91f9c3e5ef6b1883577c5e4230622d0dd20b2666b8/68747470733a2f2f706f7365722e707567782e6f72672f676270726f642f656c61737469637365617263682d65787472612d62756e646c652f762f737461626c65)](https://packagist.org/packages/gbprod/elasticsearch-extra-bundle)[![Total Downloads](https://camo.githubusercontent.com/0c01f5eea15353b497b8bc99a5e240e78338bd652e5083a2bed833e77bc84266/68747470733a2f2f706f7365722e707567782e6f72672f676270726f642f656c61737469637365617263682d65787472612d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/gbprod/elasticsearch-extra-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/e1446f7bf3d8e210af79736baa67cc3f5ec79cf57bfb3f474b7b0649e3f14b36/68747470733a2f2f706f7365722e707567782e6f72672f676270726f642f656c61737469637365617263682d65787472612d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/gbprod/elasticsearch-extra-bundle)[![License](https://camo.githubusercontent.com/9919da67f86fcca89b18fe5a4270c33c7a094710cf59f3423db5b5a155ae9169/68747470733a2f2f706f7365722e707567782e6f72672f676270726f642f656c61737469637365617263682d65787472612d62756e646c652f6c6963656e7365)](https://packagist.org/packages/gbprod/elasticsearch-extra-bundle)

Extra tools for managing indices and types. Built on top of [m6web/elasticsearch-bundle](https://github.com/M6Web/ElasticsearchBundle).

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

[](#installation)

With composer :

```
composer require gbprod/elasticsearch-extra-bundle
```

Update your `app/AppKernel.php` file:

```
public function registerBundles()
{
    $bundles = array(
        new M6Web\Bundle\ElasticsearchBundle\M6WebElasticsearchBundle(),
        new GBProd\ElasticsearchExtraBundle\ElasticsearchExtraBundle(),
    );
}
```

See [M6WebElasticsearchBundle](https://github.com/M6Web/ElasticsearchBundle) for configuring clients.

Index Management Operations
---------------------------

[](#index-management-operations)

### Configuration

[](#configuration)

Set indices setup

```
elasticsearch_extra:
    indices:
        my_index:
            settings:
                number_of_shards: 3
                number_of_replicas: 2
            mappings:
                my_type:
                    _source:
                        enabled: true
                    properties:
                        first_name:
                            type: string
                            analyzer: standard
                        age:
                            type: integer
        my_index_2: ~
```

See [Official documentation](https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_index_management_operations.html) for options.

### Create index

[](#create-index)

With default client:

```
php app/console elasticsearch:index:create my_index
```

Or with specified client:

```
php app/console elasticsearch:index:create my_index --client=my_client
```

### Delete index

[](#delete-index)

With default client:

```
php app/console elasticsearch:index:delete my_index --force
```

Or with specified client:

```
php app/console elasticsearch:index:delete my_index --force --client=my_client
```

### Put index settings

[](#put-index-settings)

With default client:

```
php app/console elasticsearch:index:put_settings my_index
```

Or with specified client:

```
php app/console elasticsearch:index:put_settings my_index --client=my_client
```

### Put index mappings

[](#put-index-mappings)

With default client:

```
php app/console elasticsearch:index:put_mappings my_index my_type
```

Or with specified client:

```
php app/console elasticsearch:index:put_mappings my_index my_type --client=my_client
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Total

3

Last Release

3696d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/841b899d90de45fe2d70ae8efa1c505f53f276bdb3c5968194f1ab87b4c854c5?d=identicon)[gbprod](/maintainers/gbprod)

---

Top Contributors

[![gbprod](https://avatars.githubusercontent.com/u/3751019?v=4)](https://github.com/gbprod "gbprod (24 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/gbprod-elasticsearch-extra-bundle/health.svg)](https://phpackages.com/packages/gbprod-elasticsearch-extra-bundle)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M190](/packages/simplesamlphp-simplesamlphp)[sulu/sulu

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

1.3k1.3M151](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)

PHPackages © 2026

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