pierrerolland/hipchat-bundle 问题修复 & 功能扩展

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

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

pierrerolland/hipchat-bundle

Composer 安装命令:

composer require pierrerolland/hipchat-bundle

包简介

Integration of Hipchat in Symfony applications

README 文档

README

Integration of Hipchat in Symfony applications. This bundle allow you to send notifications to your Hipchat rooms, defined in the configuration.

Installation

composer require pierrerolland/hipchat-bundle

And in your app/AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new JMS\SerializerBundle\JMSSerializerBundle(),
            new Guzzle\ConfigOperationsBundle\GuzzleConfigOperationsBundle(),
            new Atlassian\HipchatBundle\AtlassianHipchatBundle(),
        ];

        return $bundles;
    }

Usage

1. Get your room's token

In browser's Hipchat version, go to "Integrations", then "Build your own". Select a room and a name for your integration. You'll now have a room id and an auth token.

2. Configure the room in Symfony

# config.yml

atlassian_hipchat:
      group: "plop" # Your group's name (plop.hipchat.com)
      rooms:
          foo:
              id: 42 # The room "foo"'s id
              token: blahblahblah # The room "foo"'s auth token
          ...    

3. Send your notifications

   $this
      ->get('atlassian_hipchat.manager.hipchat')
      ->createNotification('foo', 'Will Grigg\'s on fire !', 'purple');

That's it !

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固