PHPackages                             nc/elephantio-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nc/elephantio-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nc/elephantio-bundle
====================

Elephant IO integration in Symfony2

v2.1.0(9y ago)2086.2k↓22%6[1 PRs](https://github.com/nchaulet/ElephantIOBundle/pulls)MITPHP

Since Apr 28Pushed 8y ago2 watchersCompare

[ Source](https://github.com/nchaulet/ElephantIOBundle)[ Packagist](https://packagist.org/packages/nc/elephantio-bundle)[ RSS](/packages/nc-elephantio-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (7)Used By (0)

Elephant IO Bundle
==================

[](#elephant-io-bundle)

[![Build Status](https://camo.githubusercontent.com/27566d1c970a1523e6f6a6ae657e5c4a32436ab618bcd218477407441d31ec65/68747470733a2f2f7472617669732d63692e6f72672f6e636861756c65742f456c657068616e74494f42756e646c652e706e67)](https://travis-ci.org/nchaulet/ElephantIOBundle)

[![knpbundles.com](https://camo.githubusercontent.com/84b82d5e858dd0c869f886ef8b1677525d1e04828c91a7bb29e19a2b748436c6/687474703a2f2f6b6e7062756e646c65732e636f6d2f6e636861756c65742f456c657068616e74494f42756e646c652f6261646765)](http://knpbundles.com/nchaulet/ElephantIOBundle)

[![Sensio insight](https://camo.githubusercontent.com/4ad7d3d215278d0afaa63cadfc8700ea01d1688b7b3aa696f2366ce1b70afc4a/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39353635363031332d306262612d343236632d393062652d3037613362383861356562362f6d696e692e706e67)](https://insight.sensiolabs.com/projects/95656013-0bba-426c-90be-07a3b88a5eb6)

[Elephant.io](https://github.com/Wisembly/elephant.io) library integration in symfony2.

This bundle allows you to communicate with a socket.io server (0.x or 1.x) from a Symfony2 application.

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

[](#installation)

```
composer require nc/elephantio-bundle
```

In your AppKernel

```
public function registerbundles()
{
    return [
    	...
    	...
    	new Nc\Bundle\ElephantIOBundle\NcElephantIOBundle(),
    ];
}
```

Configuration sample
--------------------

[](#configuration-sample)

```
nc_elephant_io:
    clients:
        default:
            connection: http://192.168.0.14:3006
            # specify version 0.x for 0.* version and 1.x for 1.0 version
            version: 0.x
        your_key:
            connection: http://192.168.0.14:3000
            version: 1.x

```

Usage
-----

[](#usage)

```
$client = $this->get('elephantio_client.your_key');
$client->send('event_name', ['foo' => 'test']);

```

More complex usage
------------------

[](#more-complex-usage)

```
$client = $this->get('elephantio_client.your_key');
$elephantIOClient = $client->getElephantIO();
// Refer to Elephant.io doc

```

Contribute ?
------------

[](#contribute-)

If you want to improve this bundle, you can use github pull-request and issue

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 83.9% 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 ~252 days

Recently: every ~305 days

Total

6

Last Release

3504d ago

Major Versions

v1.0.2 → v2.0.02014-10-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/4002edb06c9d3705f3b16889ca47a23ca4e9512a946222006f729b39d917dc03?d=identicon)[nchaulet](/maintainers/nchaulet)

---

Top Contributors

[![nchaulet](https://avatars.githubusercontent.com/u/1336873?v=4)](https://github.com/nchaulet "nchaulet (26 commits)")[![fractalzombie](https://avatars.githubusercontent.com/u/5721336?v=4)](https://github.com/fractalzombie "fractalzombie (3 commits)")[![floyoops](https://avatars.githubusercontent.com/u/2229520?v=4)](https://github.com/floyoops "floyoops (1 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (1 commits)")

---

Tags

bundleSocket.ioelephant.io

### Embed Badge

![Health badge](/badges/nc-elephantio-bundle/health.svg)

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

###  Alternatives

[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6308.9M39](/packages/knplabs-knp-time-bundle)[odolbeau/phone-number-bundle

Integrates libphonenumber into your Symfony application

24910.3M11](/packages/odolbeau-phone-number-bundle)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[moura137/laravel-elephantio

ElephantIO Service Provider for the Laravel PHP Framework

107.0k](/packages/moura137-laravel-elephantio)

PHPackages © 2026

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