nc/elephantio-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nc/elephantio-bundle

最新稳定版本:v2.1.0

Composer 安装命令:

composer require nc/elephantio-bundle

包简介

Elephant IO integration in Symfony2

README 文档

README

Build Status

knpbundles.com

Sensio insight

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

composer require nc/elephantio-bundle

In your AppKernel

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

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

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

More complex usage

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

Contribute ?

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

统计信息

  • 总下载量: 84.51k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 20
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 2
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固