PHPackages                             vanilla/hipchat-api - 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. vanilla/hipchat-api

ActiveLibrary[API Development](/categories/api)

vanilla/hipchat-api
===================

Hipchat v2 API client

v2.0(10y ago)320.8k1[1 issues](https://github.com/vanilla/hipchat-api/issues)MITPHPPHP &gt;=5.4

Since Feb 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vanilla/hipchat-api)[ Packagist](https://packagist.org/packages/vanilla/hipchat-api)[ Docs](https://github.com/vanilla/hipchat-api)[ RSS](/packages/vanilla-hipchat-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

HipChat API
===========

[](#hipchat-api)

[![Packagist Version](https://camo.githubusercontent.com/df74bbdad7a4f3b090723818cdd9820612220f9d8ac28bae9331ae987dbbe6c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76616e696c6c612f686970636861742d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vanilla/hipchat-api)[![MIT License](https://camo.githubusercontent.com/358d4e219d6e1e55e2498a57bc3fea64ba4125ec73d501cb08060bdc1af85522/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f76616e696c6c612f686970636861742d6170692e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/358d4e219d6e1e55e2498a57bc3fea64ba4125ec73d501cb08060bdc1af85522/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f76616e696c6c612f686970636861742d6170692e7376673f7374796c653d666c61742d737175617265)

`hipchat-api` is a PHP library that provides an implementation of the HipChat v2 REST API.

Installation
------------

[](#installation)

*hipchat-api requires PHP 5.4 or higher*

`hipchat-api` is [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) compliant and can be easily installed using [composer](//getcomposer.org).

Just add `vanilla/hipchat-api` to your composer.json.

```
"require": {
    "vanilla/hipchat-api": "~2.0"
}
```

Usage
-----

[](#usage)

HipChat uses OAuth2 tokens with specific scopes to control API access. You can request a token for yourself by visiting the [HipChat Account/API page](https://www.hipchat.com/account/api).

```
