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(11y ago)341[1 issues](https://github.com/dustler/hipchat/issues)GPL 2PHPPHP &gt;=5.4.0

Since May 16Pushed 11y 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 3w 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 41% 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

4043d 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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M989](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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