承接 rcrowe/hippy 相关项目开发

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

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

rcrowe/hippy

Composer 安装命令:

composer require rcrowe/hippy

包简介

PHP client for HipChat. Designed for incidental notifications from an application.

README 文档

README

Build Status

Hippy is a simple PHP client for sending messages to a HipChat room. It is designed for incidental notifications from an application.

Hippy does one thing and one thing well, sending messages to a Hipchat room.

Installation

Add rcrowe\hippy as a requirement to composer.json:

{
    "require": {
        "rcrowe/hippy": "0.6.*"
    }
}

Update your packages with composer update or install with composer install.

Usage

$transport = new rcrowe\Hippy\Transport\Guzzle($token, $room, $from);
$hippy = new rcrowe\Hippy\Client($transport);

$message = new rcrowe\Hippy\Message(true, rcrowe\Hippy\Message::BACKGROUND_YELLOW);
$message->setText('test');

$hippy->send($message);

Hippy also provides a static interface just like v0.5 and below.

use rcrowe\Hippy\Facade as Hippy;

Hippy::init($token, $room, $from);
Hippy::html('<a href="#">test failed</a>');

Maybe you want to add the message to a queue and send it at the end.

Hippy::init($token, $room, $from);
Hippy::add('test 1');
Hippy::addHtml('test 2');
Hippy::go();

Phing

Use Phing for builds and want to send messages to Hipchat? Then checkout out phing-hipchat.

Tests

To run all tests

$> phpunit tests

License

Hippy is released under the MIT public license.

统计信息

  • 总下载量: 14.82k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 50
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 49
  • Watchers: 3
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-04-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固