PHPackages                             opb/laravel-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. opb/laravel-hipchat

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

opb/laravel-hipchat
===================

HipChat Notifier for Laravel 4

0.3.2(11y ago)320.2k2MITPHPPHP &gt;=5.5.0

Since Nov 13Pushed 10y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

Hipchat Notifier for Laravel 4/5
================================

[](#hipchat-notifier-for-laravel-45)

Quickly and easily send messages to Hipchat rooms, backgrounding via the Laravel queue by default. Uses v1 of the Hipchat API, with auth keys (as opposed to v2 with OAuth).

A couple of usage examples:

```
$user = 'Taylor';

HipchatNotifier::message("A new account [{$user}] signed up!");
```

Specifying some options:

```
$message = 'Warning, system is down!';
$options = [
	'notify' => true,
	'color' => 'red',
	'from' => 'System Monitor',
	'room' => 'Emergency Notifications',
];

HipchatNotifier::message($message, $options);
```

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

[](#installation)

Install into your Laravel app via composer.

```
"opb/laravel-hipchat": "~0.2",

```

and then

```
composer update

```

Register the service provider in `app.php`:

```
Opb\LaravelHipchat\HipchatNotifierServiceProvider

```

**Note:** The `HipchatNotifier` facade is registered automatically and does **not** need to be added to the `aliases` array in `app.php`.

### Config - Laravel 4 (package version 0.2)

[](#config---laravel-4-package-version-02)

Publish the config file:

```
php artisan config:publish opb/laravel-hipchat

```

You should then find the config file at `app/config/packages/opb/laravel-hipchat/config.php`. Edit it to specify the required settings (API token and default room name) and additional default options.

### Config - Laravel 5 (package version 0.3 and above)

[](#config---laravel-5-package-version-03-and-above)

Publish the config file:

```
php artisan vendor:publish

```

You should then find the config file at `config/hipchat.php`. Edit it to specify the required settings (API token and default room name) and additional default options. Use the `env('VARIABLE_NAME')` functionality where appropriate when using Laravel's `.env` file.

Options
-------

[](#options)

There are several options which can (and some which must) be provided to the package. Most options can be specified at instantiation (via the config file) and optionally overridden when a message is sent.

OptionRequired?DefaultOverride with message?InfoapiTokenYes*none*NoroomYes*none*YesName of the room, not IDcolorNo'yellow'YesSee available options belowfromNo'Notification'YesThe message sender namenotifyNofalseYesMake Hipchat app notifyqueueNotrueYesBackground to Laravel queueformatNo'auto'YesMessage format - **html**, **text** or **auto**- Color options - **yellow**, **red**, **gray**, **green**, **purple**, **random**
- Message format - HipChat can format basic html structures (lists, paragraphs, bold, italic, etc) when set to **html** format. Emoticons are only rendered when **text** format is used. **auto** will check for any html tags in your message and decide automagically which to use.

Usage
-----

[](#usage)

Using the `HipchatNotifier` facade allows you to quickly and easily send messages. The simplest is to send a message using all the default options within the package, or using those that were overridden in the config file:

```
HipchatNotifier::message('Test message with all default options');
```

You can override options on a per-message basis:

```
$message = 'Warning, system is down!';
$options = [
	'notify' => true,
	'color' => 'red',
	'from' => 'System Monitor',
	'room' => 'Emergency Notifications',
];

HipchatNotifier::message($message, $options);
```

If you're not going to use the facade, and resolve directly out of the IOC container, the key is `hipchat-notifier`. For example:

```
$notifier = App::make('hipchat-notifier');
```

Todo
----

[](#todo)

- Support HipChat API v2

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.6% 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 ~20 days

Total

5

Last Release

4113d ago

### Community

Maintainers

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

---

Top Contributors

[![opb](https://avatars.githubusercontent.com/u/778850?v=4)](https://github.com/opb "opb (16 commits)")[![dealloc](https://avatars.githubusercontent.com/u/2164354?v=4)](https://github.com/dealloc "dealloc (5 commits)")[![jonwhittlestone](https://avatars.githubusercontent.com/u/1681212?v=4)](https://github.com/jonwhittlestone "jonwhittlestone (1 commits)")[![lucacri](https://avatars.githubusercontent.com/u/2913531?v=4)](https://github.com/lucacri "lucacri (1 commits)")

---

Tags

laravelnotificationnotifierhipchat

### Embed Badge

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

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[brian2694/laravel-toastr

toastr.js for Laravel

136649.4k5](/packages/brian2694-laravel-toastr)[yieldstudio/laravel-expo-notifier

Easily send Expo notifications with Laravel.

59115.9k](/packages/yieldstudio-laravel-expo-notifier)

PHPackages © 2026

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