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)22MITPHPPHP &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 2d 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

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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

2855d 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/framework

The Laravel Framework.

34.8k543.8M19.7k](/packages/laravel-framework)[laravel/socialite

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

5.7k108.5M864](/packages/laravel-socialite)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M554](/packages/laravel-boost)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M293](/packages/laravel-dusk)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)

PHPackages © 2026

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