PHPackages                             rocketfirm/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. [API Development](/categories/api)
4. /
5. rocketfirm/mattermost-driver

ActiveLibrary[API Development](/categories/api)

rocketfirm/mattermost-driver
============================

This Driver is a PHP implementation of the official Mattermost Web Services API.

00PHP

Since Feb 26Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#mattermost-driver)

The Laravel Driver to interact with the [Mattermost Web Service API](https://about.mattermost.com/).

Please read the [api documentation](https://api.mattermost.com/) for further information on using this application.

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

[](#installation)

---

### Composer

[](#composer)

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

```
composer require rocketfirm/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`

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

[](#configuration)

---

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

Usage
-----

[](#usage)

---

```
use \Rocketfirm\MattermostDriver\Facades\Mattermost;

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

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

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

### Via dependency injection

[](#via-dependency-injection)

```
use \Rocketfirm\MattermostDriver\Contracts\DriverContract;

// Retrieve the driver
$mattermost = app()->make(DriverContract::class);

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

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6338827?v=4)[Rocket Firm](/maintainers/rocketfirm)[@rocketfirm](https://github.com/rocketfirm)

---

Top Contributors

[![arsentiy-byte](https://avatars.githubusercontent.com/u/52823581?v=4)](https://github.com/arsentiy-byte "arsentiy-byte (15 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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