PHPackages                             dgac/mattermostmodule - 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. dgac/mattermostmodule

ActiveLibrary[API Development](/categories/api)

dgac/mattermostmodule
=====================

Module to use Mattermost in a Zend Framework and Bootstrap application

v0.4.1(4y ago)03.8k[8 issues](https://github.com/DGAC/MattermostModule/issues)[2 PRs](https://github.com/DGAC/MattermostModule/pulls)GPL-3.0-or-laterJavaScript

Since Feb 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/DGAC/MattermostModule)[ Packagist](https://packagist.org/packages/dgac/mattermostmodule)[ Docs](https://github.com/DGAC/MattermostModule)[ RSS](/packages/dgac-mattermostmodule/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (4)Versions (15)Used By (0)

Chat module for Laminas and Bootstrap 3
=======================================

[](#chat-module-for-laminas-and-bootstrap-3)

**WIP : This module is usable but it needs more love :)**

\*\* 0.2.x version are for ZF2 ; 0.3.x and further for ZF3/Laminas \*\*

Mandatory screenshot
--------------------

[](#mandatory-screenshot)

[![screenshot](https://raw.githubusercontent.com/DGAC/MattermostModule/master/mattermostmodule.png)](https://raw.githubusercontent.com/DGAC/MattermostModule/master/mattermostmodule.png)

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

[](#installation)

`composer require dgac/mattermostmodule`

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

[](#configuration)

- Add module in your application modules
- Use `mattermostmessenger.local.php.dist` to add your configuration

Usage
-----

[](#usage)

- Add CSS files to your view.

    - Bootstrap 3
    - Font Awesome 5

Example :

```
echo $this->headLink()
              ->appendStylesheet($this->basePath() . '//bootstrap.min.css')
              ->appendStylesheet($this->basePath() . '/assets/css/font-awesome.all.min.css')
              ->appendStylesheet($this->basePath() . '/assets/css/mattermostchat.css');
```

- Add javascript dependencies (see bower.json)

    - JQuery
    - JQuery-UI
    - Bootstrap 3
    - Moment.js :
    - List.js :
    - Marked :
    - JS Cookie :

Example :

```
echo $this->headScript()
    ->appendFile($this->basePath() . '//jquery.min.js')
    ->appendFile($this->basePath() . '//jquery-ui.min.js')
    ->appendFile($this->basePath() . '//bootstrap.min.js')
    ->appendFile($this->basePath() . '//moment.min.js')
    ->appendFile($this->basePath() . '//list.min.js')
    ->appendFile($this->basePath() . '//marked.min.js')
    ->appendFile($this->basePath() . '//js-cookie.js')
    ->appendFile($this->basePath() . '/assets/js/mattermostchat.js');
```

- Use view helper :

```

    mattermost();?>

```

- And finally configure the Jquery UI Widget :

```
$('.chat-container').mattermost({
            baseUrl: '',
            userName: '',
            teamName: '',
            channelId: '',
            token: '',
            serverUrl: ''
        });
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~130 days

Recently: every ~104 days

Total

12

Last Release

1575d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29868b2d8bf7c586c3c710d2090e9338d6aa40a0af83b5f4a9e56cd6b5ca2ff9?d=identicon)[BrunoSpy](/maintainers/BrunoSpy)

---

Top Contributors

[![BrunoSpy](https://avatars.githubusercontent.com/u/954222?v=4)](https://github.com/BrunoSpy "BrunoSpy (59 commits)")

---

Tags

bootstrapchatclientchatroomlaminaslaminas-modulelaminas-mvcmattermostphpzend-frameworkzend-modulelaminasbootstrapchatMattermost

### Embed Badge

![Health badge](/badges/dgac-mattermostmodule/health.svg)

```
[![Health](https://phpackages.com/badges/dgac-mattermostmodule/health.svg)](https://phpackages.com/packages/dgac-mattermostmodule)
```

###  Alternatives

[laminas/laminas-feed

provides functionality for creating and consuming RSS and Atom feeds

16749.2M47](/packages/laminas-laminas-feed)[laminas/laminas-soap

6121.8M37](/packages/laminas-laminas-soap)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[laminas/laminas-xmlrpc

Fully-featured XML-RPC server and client implementations

252.0M18](/packages/laminas-laminas-xmlrpc)[gidkom/php-openfire-restapi

Manage Open fire server using Rest Api

56158.6k](/packages/gidkom-php-openfire-restapi)[gnello/laravel-mattermost-driver

Laravel integration of php-mattermost-driver

1844.9k2](/packages/gnello-laravel-mattermost-driver)

PHPackages © 2026

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