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

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

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

nixilla/hipchat-bundle

Composer 安装命令:

composer require nixilla/hipchat-bundle

包简介

Provides simple hipchat notification service - requires Buzz

关键字:

README 文档

README

Very basic and simple Hipchat integration. Currently it only provides notification to single room. But if you would like to extend it please feel free to send pull request.

Build Status Coverage Status

Installation

Install with composer:

composer require nixilla/hipchat-bundle

Add budle to AppKernel:

<?php

// app/AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // other bundles here,
            new Nixilla\HipchatBundle\NixillaHipchatBundle()
        ];
        
        return $bundles;
    }
}

Configure parameters.yml:

hipchat.token: tbc
hipchat.room: tbc
hipchat.domain: tbc

Usage

Inject hipchat service in to your service:

your.service:
    class: \YourClass
    arguments: [ "@hipchat.notifier" ]

Use in your class:

<?php

class YourClass
{
    private $hipchat; // inject it via constructor
    
    public function yourMethod()
    {
        $this->hipchat->notify($colour = 'red', $message = 'Hello', $format = 'text', $notify = false);        
    }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-01-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固