PHPackages                             gnello/laravel-mattermost-driver - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gnello/laravel-mattermost-driver

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gnello/laravel-mattermost-driver
================================

Laravel integration of php-mattermost-driver

1.3.3(1y ago)1844.9k↓36.4%91MITPHPPHP ^7.0||^8.0

Since Dec 2Pushed 1y ago2 watchersCompare

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

READMEChangelogDependencies (2)Versions (12)Used By (1)

laravel-mattermost-driver
=========================

[](#laravel-mattermost-driver)

[![Latest Stable Version](https://camo.githubusercontent.com/fd403a1432d22446b8451d1e4cd9a922aec68e8f61e5bb91fe3cd5a2ac226090/68747470733a2f2f706f7365722e707567782e6f72672f676e656c6c6f2f6c61726176656c2d6d61747465726d6f73742d6472697665722f762f737461626c65)](https://packagist.org/packages/gnello/laravel-mattermost-driver) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/2dc80d85a407c23f0ff5811c66651bcd106441cf575ef7b24235e4d2258df59e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676e656c6c6f2f6c61726176656c2d6d61747465726d6f73742d6472697665722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gnello/laravel-mattermost-driver/?branch=master) [![Total Downloads](https://camo.githubusercontent.com/a6a8f669b2f2e55a74c3d932099c923180c84682c404f4bd2ad4c45e4658dabf/68747470733a2f2f706f7365722e707567782e6f72672f676e656c6c6f2f6c61726176656c2d6d61747465726d6f73742d6472697665722f646f776e6c6f616473)](https://packagist.org/packages/gnello/laravel-mattermost-driver)

A Laravel integration for the package [php-mattermost-driver](https://github.com/gnello/php-mattermost-driver).

Please referer to the [php-mattermost-driver](https://github.com/gnello/php-mattermost-driver) package for further information on using this application.

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

[](#installation)

### Composer

[](#composer)

The best way to install php-mattermost-driver is to use Composer:

```
composer require gnello/laravel-mattermost-driver

```

Read more about how to install and use Composer on your local machine [here](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).

### Laravel

[](#laravel)

After installation launch the command:

```
 php artisan vendor:publish

```

to publish the configuration file. You'll find it at config/mattermost.php

If you're on Laravel 5.5 or higher you can wipe the sweat on your forehead: you're done here!

### Laravel 5.4 or lower

[](#laravel-54-or-lower)

Otherwise don't give up, you're almost there! Do this:
Add the `Gnello\Mattermost\Laravel\MattermostServiceProvider` provider to the providers array in config/app.php:

```
'providers' => [
  //..
  Gnello\Mattermost\Laravel\MattermostServiceProvider::class,
],

```

Then add the facade to your aliases array:

```
'aliases' => [
  //..
  'Mattermost' => Gnello\Mattermost\Laravel\Facades\Mattermost::class,
],

```

You did it! Now consider updating your version of Laravel!

Configuration
-------------

[](#configuration)

Edit the file `config/mattermost.php` as you prefer.

Usage
-----

[](#usage)

```
 use \Gnello\Mattermost\Laravel\Facades\Mattermost;

 //Retrieve the driver
 $driver = Mattermost::server('default');

 //Retrieve the User Model
 $userModel = $driver->getUserModel();

 //Retrieve the User Model directly (on the default server)
 $userModel = Mattermost::getUserModel();
```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance46

Moderate activity, may be stable

Popularity39

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 84.8% 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 ~266 days

Recently: every ~341 days

Total

11

Last Release

422d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.0.0

1.3.0PHP ^7.0||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3364624b5ca65e5501822875f02a9546c09224ea148f4c3bdf1c81f55f793802?d=identicon)[gnello](/maintainers/gnello)

---

Top Contributors

[![gnello](https://avatars.githubusercontent.com/u/19245006?v=4)](https://github.com/gnello "gnello (28 commits)")[![mawnicat](https://avatars.githubusercontent.com/u/29400596?v=4)](https://github.com/mawnicat "mawnicat (2 commits)")[![minenok](https://avatars.githubusercontent.com/u/2571894?v=4)](https://github.com/minenok "minenok (1 commits)")[![Pezhvak](https://avatars.githubusercontent.com/u/3134479?v=4)](https://github.com/Pezhvak "Pezhvak (1 commits)")[![pipegris](https://avatars.githubusercontent.com/u/8752638?v=4)](https://github.com/pipegris "pipegris (1 commits)")

---

Tags

clientlaravelmattermostmattermost-clientmattermost-laravelchatMattermost

### Embed Badge

![Health badge](/badges/gnello-laravel-mattermost-driver/health.svg)

```
[![Health](https://phpackages.com/badges/gnello-laravel-mattermost-driver/health.svg)](https://phpackages.com/packages/gnello-laravel-mattermost-driver)
```

###  Alternatives

[musonza/chat

Chat Package for Laravel

1.2k253.4k1](/packages/musonza-chat)[php-junior/laravel-video-chat

Laravel Video Chat using Socket.IO and WebRTC

82018.1k](/packages/php-junior-laravel-video-chat)[lexxyungcarter/chatmessenger

Simple one-to-one/group chat messaging tool for Laravel 5, 6, 7, 8, 9 &amp; 10 with Pusher Integration

10724.1k](/packages/lexxyungcarter-chatmessenger)[syntaxlexx/chatmessenger

Simple one-to-one/group chat messaging tool for Laravel 5, 6, 7, 8, 9 &amp; 10 with Pusher Integration

10510.2k](/packages/syntaxlexx-chatmessenger)[squareetlabs/laravel-openvidu

Laravel client for controlling your videocalls from your Openvidu server.

2710.8k](/packages/squareetlabs-laravel-openvidu)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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