2017 © Pedro Peláez
 

library hippy

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

image

rcrowe/hippy

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

  • Saturday, February 8, 2014
  • by rcrowe
  • Repository
  • 4 Watchers
  • 53 Stars
  • 14,044 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 13 Forks
  • 1 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

Hippy

Build Status, (*1)

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

Hippy does one thing and one thing well, sending messages to a Hipchat room., (*3)

Installation

Add rcrowe\hippy as a requirement to composer.json:, (*4)

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

Update your packages with composer update or install with composer install., (*5)

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., (*6)

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., (*7)

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., (*8)

Tests

To run all tests, (*9)

$> phpunit tests

License

Hippy is released under the MIT public license., (*10)

The Versions

08/02 2014

dev-master

9999999-dev https://github.com/rcrowe/Hippy

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

  Sources   Download

MIT

The Requires

 

The Development Requires

message notification hipchat chat

08/02 2014

v0.7.0

0.7.0.0 https://github.com/rcrowe/Hippy

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

  Sources   Download

MIT

The Requires

 

The Development Requires

message notification hipchat chat

07/04 2013

v0.6.2

0.6.2.0 https://github.com/rcrowe/Hippy

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

  Sources   Download

MIT

The Requires

 

The Development Requires

message notification hipchat chat

07/04 2013

v0.6.1

0.6.1.0 https://github.com/rcrowe/Hippy

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

  Sources   Download

MIT

The Requires

 

The Development Requires

message notification hipchat chat

06/04 2013

v0.6

0.6.0.0 https://github.com/rcrowe/Hippy

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

  Sources   Download

MIT

The Requires

 

The Development Requires

message notification hipchat chat