PHPackages                             rhincodon/gitter-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. [HTTP &amp; Networking](/categories/http)
4. /
5. rhincodon/gitter-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

rhincodon/gitter-api
====================

PHP package for interaction with Gitter REST API.

1.0.2(10y ago)2313MITPHPPHP &gt;=5.6.0

Since Sep 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Rhincodon/gitter-api)[ Packagist](https://packagist.org/packages/rhincodon/gitter-api)[ Docs](https://github.com/rhincodon/gitter-api)[ RSS](/packages/rhincodon-gitter-api/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (5)Used By (0)

PHP Gitter API
==============

[](#php-gitter-api)

PHP package for interaction with Gitter REST API.

[![Latest Version on Packagist](https://camo.githubusercontent.com/bc26ab80e92a22f1188ffccbbc2fef13f9c1152f3336deed661970d5c1bd1b02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7268696e636f646f6e2f6769747465722d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rhincodon/gitter-api)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/26518f084cb187159c6961b1230ab4390df3c95a532ec3ace4a87d5866774be9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f5268696e636f646f6e2f6769747465722d6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Rhincodon/gitter-api)[![Total Downloads](https://camo.githubusercontent.com/757a3746c8c644d5c06612da02ad30c2ef336c3687dd8d6ebd3a4768be5e7d26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7268696e636f646f6e2f6769747465722d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rhincodon/gitter-api)

Install
-------

[](#install)

Via Composer

```
$ composer require rhincodon/gitter-api
```

Usage
-----

[](#usage)

```
// Get new gitter instance
$gitter = new GitterApi($token);

// You can change token
$gitter->setToken($token);

// List of rooms for current user
$rooms = $gitter->rooms();

// Get room or join
$room = $gitter->room($roomId|$roomUrl);

// List of room users
$roomUsers = $room->users();

// List of room channels
$roomChannels = $room->channels();

// List of room messages
$roomMessages = $room->messages()->skip(10)->take(5)->before($messageId|$message)->after($messageId|$message)->get();

// Send message to the room
$message = $room->sendMessage($text);

// Update sent message
$message->update($text);

// Get message author
$messageAuthor = $message->author();

// Get message mentioned users
$messageMentions = $message->mentions();

// Get current user
$currentUser = $gitter->currentUser();

// Current user resources
$userRooms = $currentUser->rooms();
$userOrgs = $currentUser->organizations();
$userRepos = $currentUser->repositories();
$userChannels = $currentUser->channels();
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Testing
-------

[](#testing)

Set up gitter token in `.env` file and run:

```
$ composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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 ~0 days

Total

3

Last Release

3938d ago

### Community

Maintainers

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

---

Top Contributors

[![Rhincodon](https://avatars.githubusercontent.com/u/6630959?v=4)](https://github.com/Rhincodon "Rhincodon (5 commits)")

---

Tags

apirestgitter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rhincodon-gitter-api/health.svg)

```
[![Health](https://phpackages.com/badges/rhincodon-gitter-api/health.svg)](https://phpackages.com/packages/rhincodon-gitter-api)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[jlevers/selling-partner-api

PHP client for Amazon's Selling Partner API

4335.4M2](/packages/jlevers-selling-partner-api)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.7M18](/packages/xeroapi-xero-php-oauth2)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)

PHPackages © 2026

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