PHPackages                             gorkalaucirica/hipchat-v2-api-client - 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. gorkalaucirica/hipchat-v2-api-client

ActiveLibrary[API Development](/categories/api)

gorkalaucirica/hipchat-v2-api-client
====================================

Hipchat v2 API client

v1.5.1(10y ago)80223.4k—9.2%41[5 PRs](https://github.com/gorkalaucirica/HipchatAPIv2Client/pulls)6MITPHPPHP &gt;=5.3.3

Since Jul 12Pushed 7y ago8 watchersCompare

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

READMEChangelog (9)Dependencies (3)Versions (10)Used By (6)

Hipchat v2 Api Client
=====================

[](#hipchat-v2-api-client)

> This library is unmantained. Check this fork by [solutionDrive](https://github.com/solutionDrive/HipchatAPIv2Client)

PHP Library to process calls to Hipchat's v2 REST API

[![Latest Stable Version](https://camo.githubusercontent.com/c5729f0e2221f132e421294e374838da75afdcc93d19fec00fa19592ff3177bf/68747470733a2f2f706f7365722e707567782e6f72672f676f726b616c61756369726963612f686970636861742d76322d6170692d636c69656e742f762f737461626c652e737667)](https://packagist.org/packages/gorkalaucirica/hipchat-v2-api-client)[![Total Downloads](https://camo.githubusercontent.com/34e2693f923382999ba00caba55ddfb8412c29f8fb0ed8427a97859c1153e035/68747470733a2f2f706f7365722e707567782e6f72672f676f726b616c61756369726963612f686970636861742d76322d6170692d636c69656e742f646f776e6c6f6164732e737667)](https://packagist.org/packages/gorkalaucirica/hipchat-v2-api-client)[![Latest Unstable Version](https://camo.githubusercontent.com/209254ee4e60eafe4b211a3683097cc27d02c261d46493818ece2a244b606ed1/68747470733a2f2f706f7365722e707567782e6f72672f676f726b616c61756369726963612f686970636861742d76322d6170692d636c69656e742f762f756e737461626c652e737667)](https://packagist.org/packages/gorkalaucirica/hipchat-v2-api-client)[![License](https://camo.githubusercontent.com/daeaacd063ff90511eb083da23ce2cd91009e292d7a63e95c42bab4b2830d923/68747470733a2f2f706f7365722e707567782e6f72672f676f726b616c61756369726963612f686970636861742d76322d6170692d636c69656e742f6c6963656e73652e737667)](https://packagist.org/packages/gorkalaucirica/hipchat-v2-api-client)[![Build Status](https://camo.githubusercontent.com/b445284ce560f7e6525393a2512bf49e8bf7f6880953f3ade83722a0a45c5e1b/68747470733a2f2f7472617669732d63692e6f72672f676f726b616c61756369726963612f486970636861744150497632436c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gorkalaucirica/HipchatAPIv2Client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2e163c752ba6cce916e456a72df53459f427b4bc53c4aacd06289f7e5e397864/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f726b616c61756369726963612f486970636861744150497632436c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gorkalaucirica/HipchatAPIv2Client/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/9a1c443a753d51e5e1f1ad8912bd99f2ef96e44b6f3b9aa8289e38cb84430bd4/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36633864643863632d663864382d346431632d623038392d6435326464323961316566372f6d696e692e706e67)](https://insight.sensiolabs.com/projects/6c8dd8cc-f8d8-4d1c-b089-d52dd29a1ef7)

*This package is work in progress and some functionality is not available yet.*

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

[](#installation)

The recommended way to install Hipchatv2ApiClient is through [Composer](https://getcomposer.org). To install this library, run the command below and you will get the latest version:

```
composer require gorkalaucirica/hipchat-v2-api-client

```

Usage
-----

[](#usage)

All queries need the following two lines. The first one is to authenticate yourself and the second one creates a client that is used by the API classes to perform requests to the API. That is enough to start, now check the API calls section to see how to use the `$client` to send requests to the API.

```
use GorkaLaucirica\HipchatAPIv2Client\Auth\OAuth2;
use GorkaLaucirica\HipchatAPIv2Client\Client;

$auth = new OAuth2('tokenYouCanGetInHipchatSite');
$client = new Client($auth);

```

Client for private instances
----------------------------

[](#client-for-private-instances)

After version 1.5.0 you can set the URL in the constructor to change the base url used by the client (by default uses `https://api.hipchat.com`

```
$client = new Client($auth, null, 'https.//api.yourdomain.com');

```

API calls
---------

[](#api-calls)

All API call methods are located in the API folder. All of them have been documented and all have a link to Hipchat v2 API documentation. Some examples:

#### Getting user by mention name:

[](#getting-user-by-mention-name)

```
use GorkaLaucirica\HipchatAPIv2Client\API\UserAPI;

$userAPI = new UserAPI($client);
$user = $userAPI->getUser('@gorkalaucirica');

```

#### Getting all rooms

[](#getting-all-rooms)

```
use GorkaLaucirica\HipchatAPIv2Client\API\RoomAPI;

$roomAPI = new RoomAPI($client);
$room = $roomAPI->getRooms(array('max-results' => 30));

```

Current status
--------------

[](#current-status)

The following list shows methods available and missing:

#### Add ons

[](#add-ons)

- Get addon installable data
- Create addon link
- Invoke addon link
- Delete addon link

#### Capabilities

[](#capabilities)

- Get capabilities

#### Emoticons

[](#emoticons)

- Get emoticon
- Get all emoticons

#### OAuth Sessions

[](#oauth-sessions)

- Generate token
- Get session
- Delete session

#### Rooms

[](#rooms)

- Get all rooms
- Create room
- Get room
- Update room
- Delete room
- Get avatar
- Update avatar
- Delete avatar
- Get room message
- View room history
- View recent room history
- Invite user
- Add member
- Remove member
- Get all members
- Send message
- Send room notification
- Get all participants
- Reply to message
- Share file with room
- Get room statistics
- Set topic
- Get webhook
- Delete webhook
- Get all webhooks
- Create webhook

#### Users

[](#users)

- Get all users
- Create user
- View user
- Update user
- Delete user
- Get privatechat message
- View recent privatechat history
- Private message user
- Get photo
- Upload photo
- Delete photo
- Get auto join rooms
- Share file with user
- Share link with user

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 73.7% 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 ~82 days

Recently: every ~136 days

Total

9

Last Release

3670d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b54f0877b7c31df24820fc1c55bd1a4dcda487dbe8ae5b031e6bf8362fecdfe4?d=identicon)[gorkalaucirica](/maintainers/gorkalaucirica)

---

Top Contributors

[![gorkalaucirica](https://avatars.githubusercontent.com/u/1749891?v=4)](https://github.com/gorkalaucirica "gorkalaucirica (42 commits)")[![andyfitch](https://avatars.githubusercontent.com/u/265406?v=4)](https://github.com/andyfitch "andyfitch (3 commits)")[![andypoorman](https://avatars.githubusercontent.com/u/916094?v=4)](https://github.com/andypoorman "andypoorman (3 commits)")[![eleclerc](https://avatars.githubusercontent.com/u/26734?v=4)](https://github.com/eleclerc "eleclerc (2 commits)")[![AntoineLemaire](https://avatars.githubusercontent.com/u/2025537?v=4)](https://github.com/AntoineLemaire "AntoineLemaire (2 commits)")[![TSchuermans](https://avatars.githubusercontent.com/u/671116?v=4)](https://github.com/TSchuermans "TSchuermans (1 commits)")[![amochohan](https://avatars.githubusercontent.com/u/2978619?v=4)](https://github.com/amochohan "amochohan (1 commits)")[![JosephBlock](https://avatars.githubusercontent.com/u/3733445?v=4)](https://github.com/JosephBlock "JosephBlock (1 commits)")[![ROunofF](https://avatars.githubusercontent.com/u/5734058?v=4)](https://github.com/ROunofF "ROunofF (1 commits)")[![acedude](https://avatars.githubusercontent.com/u/2816665?v=4)](https://github.com/acedude "acedude (1 commits)")

---

Tags

apiclientlibraryv2hipchat

### Embed Badge

![Health badge](/badges/gorkalaucirica-hipchat-v2-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/gorkalaucirica-hipchat-v2-api-client/health.svg)](https://phpackages.com/packages/gorkalaucirica-hipchat-v2-api-client)
```

###  Alternatives

[teknoo/sellsy-client

PHP library to connect your applications to your Sellsy account account using the Sellsy API and build your websites and your platforms on the Sellsy technology.

18195.6k](/packages/teknoo-sellsy-client)[fabian-beiner/todoist-php-api-library

A PHP client library that provides a native interface to the official Todoist REST API.

4810.8k](/packages/fabian-beiner-todoist-php-api-library)[tilleuls/amazon-mws-orders

Amazon Marketplace Web Service Orders PHP Client Library

1288.1k1](/packages/tilleuls-amazon-mws-orders)

PHPackages © 2026

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