PHPackages                             hipchat/hipchat-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hipchat/hipchat-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hipchat/hipchat-php
===================

PHP library for HipChat

v1.4(11y ago)1681.0M↓14.3%46[5 issues](https://github.com/hipchat/hipchat-php/issues)18MITPHPPHP &gt;=5.3.0

Since Oct 1Pushed 11y ago25 watchersCompare

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

READMEChangelogDependenciesVersions (6)Used By (18)

hipchat-php
===========

[](#hipchat-php)

A PHP library for interacting with the [HipChat](http://hipchat.com) REST API.

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": {
        "hipchat/hipchat-php": ">=1.0.0"
    }
}
```

Usage
-----

[](#usage)

```
$token = '';
$hc = new HipChat\HipChat($token);

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

// send a message to the 'Development' room from 'API'
$hc->message_room('Development', 'API', 'This is just a test message!');
```

Testing
-------

[](#testing)

You can test this library (and your API key) using the example.php script as follows. It should print a list of your rooms and users.

```
./example.php

```

To test the library itself, run the PHPUnit tests:

```
phpunit tests/

```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 65.5% 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 ~235 days

Total

5

Last Release

4084d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/99777?v=4)[HipChat](/maintainers/hipchat)[@hipchat](https://github.com/hipchat)

---

Top Contributors

[![powdahound](https://avatars.githubusercontent.com/u/70472?v=4)](https://github.com/powdahound "powdahound (36 commits)")[![dshimy](https://avatars.githubusercontent.com/u/17605?v=4)](https://github.com/dshimy "dshimy (4 commits)")[![apfelbox](https://avatars.githubusercontent.com/u/1032411?v=4)](https://github.com/apfelbox "apfelbox (4 commits)")[![anaxamaxan](https://avatars.githubusercontent.com/u/439457?v=4)](https://github.com/anaxamaxan "anaxamaxan (2 commits)")[![FrittenKeeZ](https://avatars.githubusercontent.com/u/1186125?v=4)](https://github.com/FrittenKeeZ "FrittenKeeZ (1 commits)")[![KyleAMathews](https://avatars.githubusercontent.com/u/71047?v=4)](https://github.com/KyleAMathews "KyleAMathews (1 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (1 commits)")[![thinkspill](https://avatars.githubusercontent.com/u/822133?v=4)](https://github.com/thinkspill "thinkspill (1 commits)")[![adriankirchner](https://avatars.githubusercontent.com/u/149483?v=4)](https://github.com/adriankirchner "adriankirchner (1 commits)")[![zsiddique](https://avatars.githubusercontent.com/u/307383?v=4)](https://github.com/zsiddique "zsiddique (1 commits)")[![dxjones](https://avatars.githubusercontent.com/u/265040?v=4)](https://github.com/dxjones "dxjones (1 commits)")[![eeroniemi](https://avatars.githubusercontent.com/u/1384231?v=4)](https://github.com/eeroniemi "eeroniemi (1 commits)")[![erikjohannessen](https://avatars.githubusercontent.com/u/6041682?v=4)](https://github.com/erikjohannessen "erikjohannessen (1 commits)")

---

Tags

hipchat

### Embed Badge

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

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

###  Alternatives

[bolt/project

Bolt standard project skeleton

4629.7k](/packages/bolt-project)

PHPackages © 2026

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