承接 konstantin-kuklin/handlersocket-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

konstantin-kuklin/handlersocket-bundle

Composer 安装命令:

composer require konstantin-kuklin/handlersocket-bundle

包简介

Bundle for HandlerSocket support with Symfony

README 文档

README

Bundle allows you to use HandlerSocket inside your Symfony2 project.

Installation

  • add to composer.json row "konstantin-kuklin/handlersocket-bundle": "dev-master"

  • add to AppKernel.php row new KonstantinKuklin\HandlerSocketBundle\HandlerSocketBundle()

  • add to your config file:

hs:
    reader:
        host: localhost
        port: 9998
        debug: "%kernel.debug%"
        auth_key: "Password_Read1"

    writer:
        host: localhost
        port: 9999
        debug: "%kernel.debug%"

How to use

Now HS Reader and Writer are available from Symfony DI

/** @var \HS\Reader $reader */
$reader = $this->get("hs_reader");

/** @var \HS\Writer $writer */
$writer = $this->get("hs_writer");

About queries and more detailed HandlerSocket information you can read on (https://github.com/KonstantinKuklin/HandlerSocketLibrary).

How to Debug

Also HS debug information is available on symfony web console

Symfony2 web console with HS:

Symfony2 web console

HS page on profiler:

HS on profile

HS page with detailed output information on profiler:

HS Detailed

统计信息

  • 总下载量: 42
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固