PHPackages                             wikibusiness/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. [Search &amp; Filtering](/categories/search)
4. /
5. wikibusiness/elastica-bundle

ActiveSymfony-bundle[Search &amp; Filtering](/categories/search)

wikibusiness/elastica-bundle
============================

Slim wrapper bundle for Elastica, when FOSElasticaBundle is too much.

1.2(11y ago)01.2kMITPHPPHP &gt;=5.5

Since Jan 16Pushed 11y ago3 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (3)Used By (0)

ElasticaBundle
==============

[](#elasticabundle)

This is a simple Symfony wrapper for [elastica](http://elastica.io/). It allows you to configure elastica as a service in Symfony.

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

[](#installation)

Install is done via `composer`:

```
$ composer require wikibusiness/elastica-bundle
```

Add the bundle to your kernel:

```
// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new WB\ElasticaBundle\WBElasticaBundle(),
        );
        // ...
    }
}
// ...
```

Configure the bundle:

```
# app/config/config.yml
wb_elastica:
    servers:
        main:
            host: 127.0.0.1
            port: 9200
```

Where `main` is a grouping.

If you want to use Elastica in cluster mode, the config section should look something like this:

```
# app/config/config.yml
wb_elastica:
    servers:
        host_1:
            host: 127.0.0.1
            port: 9200
        host_2:
            host: 127.0.0.1
            port: 9201
```

All done, you can now access the service via the service `wb_elastica.client` like this:

```
use Elastica\Search;

$client = $container->get('wb_elastica.client');
$search = new Search($client);
...
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~42 days

Total

3

Last Release

4054d ago

### Community

Maintainers

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

---

Tags

symfonyelasticsearchelastica

### Embed Badge

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

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

###  Alternatives

[jolicode/elastically

Opinionated Elastica based framework to bootstrap PHP and Elasticsearch implementations.

2571.7M1](/packages/jolicode-elastically)[cmsig/seal-symfony-bundle

An integration of CMS-IG SEAL search abstraction into Symfony Framework.

15195.8k5](/packages/cmsig-seal-symfony-bundle)[heyday/silverstripe-elastica

Provides Elastic Search integration for SilverStripe DataObjects using Elastica

1136.8k2](/packages/heyday-silverstripe-elastica)[michaeljennings/laralastica

A laravel package that allows you to search eloquent results using elasticsearch.

102.9k](/packages/michaeljennings-laralastica)

PHPackages © 2026

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