PHPackages                             travisnguyen20/laravel-message-hub - 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. [Framework](/categories/framework)
4. /
5. travisnguyen20/laravel-message-hub

ActiveLibrary[Framework](/categories/framework)

travisnguyen20/laravel-message-hub
==================================

Message Hub For Laravel 5.\*

1.0(7y ago)12MITPHPPHP &gt;=7.1.3

Since Sep 7Pushed 7y agoCompare

[ Source](https://github.com/travisnguyen20/laravel-message-hub)[ Packagist](https://packagist.org/packages/travisnguyen20/laravel-message-hub)[ RSS](/packages/travisnguyen20-laravel-message-hub/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (8)Versions (2)Used By (0)

laravel-message-hub
===================

[](#laravel-message-hub)

PHP package built for Laravel 5.\* to push messages to message-hub.com

ABOUT
-----

[](#about)

- Push message to message-hub

INSTALLATION
------------

[](#installation)

This project can be installed via [Composer](http://getcomposer.org). To get the latest version of Laravel Message Hub, add the following line to the require block of your composer.json file:

```
{
    "require": {
        "travisnguyen20/laravel-message-hub": "1.*"
    }

}

```

You'll then need to run `composer install` or `composer update` to download the package and have the autoloader updated.

Or run the following command:

```
composer require travisnguyen20/laravel-message-hub

```

### Add the Service Provider &amp; Facade/Alias

[](#add-the-service-provider--facadealias)

Once Laravel Message Hub is installed, you need to register the service provider in `config/app.php`.

```
TravisNguyen\MessageHub\MessageHubServiceProvider::class,
```

You may add the following `aliases` to your `config/app.php`:

```
'MessageHub' => TravisNguyen\MessageHub\Facades\MessageHub::class,
```

Publish the package config file by running the following command:

```
php artisan vendor:publish --provider="TravisNguyen\MessageHub\MessageHubServiceProvider" --tag="config"

```

ERRORS
------

[](#errors)

This package throws several exceptions. You are free to use `try/catch`statements or to rely on the Laravel built-in exceptions handler.

- `InvalidAccessTokenException`

The access token is not set, to prevent that go to `config/message-hub.php` and set `api-token` value

- `TokenExpiredException`

Token expired, go to [Message Hub](https://message-hub.com) to get new token

- `InvalidMessageException`

Currently, `title`, `source`, `content` is required, make sure you set these props to prevent exception.

USAGE
-----

[](#usage)

### Facade

[](#facade)

The package offers a facade `MessageHub::`.

### Customize

[](#customize)

You can customize the package behaviour by overriding/overwriting the public methods and the attributes/properties. Dig into the source.

LICENSE
-------

[](#license)

Laravel Message Hub is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2805d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36810529?v=4)[Travis Nguyen](/maintainers/travisnguyen20)[@travisnguyen20](https://github.com/travisnguyen20)

---

Top Contributors

[![travisnguyen20](https://avatars.githubusercontent.com/u/36810529?v=4)](https://github.com/travisnguyen20 "travisnguyen20 (7 commits)")

---

Tags

laravellaravel5message-hubframeworklaravelmessage hub

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/travisnguyen20-laravel-message-hub/health.svg)

```
[![Health](https://phpackages.com/badges/travisnguyen20-laravel-message-hub/health.svg)](https://phpackages.com/packages/travisnguyen20-laravel-message-hub)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[graham-campbell/digitalocean

DigitalOcean Is A DigitalOcean Bridge For Laravel

509343.1k2](/packages/graham-campbell-digitalocean)[rahulalam31/laravel-abuse-ip

Block ip address of all spammer's around the world.

27431.5k](/packages/rahulalam31-laravel-abuse-ip)[graham-campbell/bitbucket

Bitbucket Is A Bitbucket Bridge For Laravel

75185.0k2](/packages/graham-campbell-bitbucket)[lanin/laravel-api-exceptions

All in one solution for exception for JSON REST APIs on Laravel and Lumen.

40102.4k](/packages/lanin-laravel-api-exceptions)

PHPackages © 2026

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