PHPackages                             dustler/hipchat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dustler/hipchat

ActiveLibrary[API Development](/categories/api)

dustler/hipchat
===============

PHP library for HipChat APi v2

1.0.3.1(10y ago)341[1 issues](https://github.com/dustler/hipchat/issues)GPL 2PHPPHP &gt;=5.4.0

Since May 16Pushed 10y ago3 watchersCompare

[ Source](https://github.com/dustler/hipchat)[ Packagist](https://packagist.org/packages/dustler/hipchat)[ Docs](http://github.com/dustler/hipchat)[ RSS](/packages/dustler-hipchat/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

HipChat api for PHP
===================

[](#hipchat-api-for-php)

A PHP library for interacting with the HipChat REST API v2.

Composer Installation
---------------------

[](#composer-installation)

HipChat-PHP can be installed with Composer (). Add the following to your composer.json file. Composer will handle the autoloading.

```
{
    "require": {
        "dustler/hipchat": "1.*"
    }
}
```

Usage
-----

[](#usage)

```
include "vendor/autoload.php";

use HipChat\Api;

$token = 'YourTokenKey';
$client = new HipChat\Http\Curl($token, HipChat\Api::DEFAULT_TARGET, 'v2');
$hc = new HipChat\Api($client);

// list rooms
foreach ($hc->getRoomRepo()->getRooms() as $room) {
    echo "$room->id = $room->name\n";
}

var_dump($hc->getRoomRepo()->testToken('My room'));

$hc->getRoomRepo()->messageRoom('My room', 'Hello from sdk');

foreach ($hc->getUserRepo()->getUsers() as $user) {
    echo "$user->id = $user->name".PHP_EOL;
}

$hc->getUserRepo()->messageUser('SomeUser', 'Hello from sdk');

$hc->getRoomRepo()->getRoomHistory('My room');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~78 days

Recently: every ~97 days

Total

6

Last Release

3996d ago

Major Versions

0.0.1 → 1.0.02014-05-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1832776?v=4)[Anton Cnam](/maintainers/cnam)[@cnam](https://github.com/cnam)

---

Top Contributors

[![cnam](https://avatars.githubusercontent.com/u/1832776?v=4)](https://github.com/cnam "cnam (17 commits)")

---

Tags

hipchat

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dustler-hipchat/health.svg)

```
[![Health](https://phpackages.com/badges/dustler-hipchat/health.svg)](https://phpackages.com/packages/dustler-hipchat)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[gorkalaucirica/hipchat-v2-api-client

Hipchat v2 API client

80223.4k6](/packages/gorkalaucirica-hipchat-v2-api-client)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[hernandev/hipchat-laravel

HipChat PHP Client Wrapper for Laravel 4 and 5

2733.2k](/packages/hernandev-hipchat-laravel)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
