{"id":25842714,"url":"https://github.com/dgac/mattermostmodule","last_synced_at":"2026-04-13T15:32:56.587Z","repository":{"id":28617969,"uuid":"118882846","full_name":"DGAC/MattermostModule","owner":"DGAC","description":"Mattermost Module for Zend Framework and Bootstrap","archived":false,"fork":false,"pushed_at":"2023-04-19T21:10:57.000Z","size":2201,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-23T10:44:31.601Z","etag":null,"topics":["bootstrap","chatclient","chatroom","laminas","laminas-module","laminas-mvc","mattermost","php","zend-framework","zend-module"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DGAC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-25T08:08:06.000Z","updated_at":"2023-04-01T00:41:14.000Z","dependencies_parsed_at":"2022-08-21T03:40:27.473Z","dependency_job_id":null,"html_url":"https://github.com/DGAC/MattermostModule","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGAC%2FMattermostModule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGAC%2FMattermostModule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGAC%2FMattermostModule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGAC%2FMattermostModule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DGAC","download_url":"https://codeload.github.com/DGAC/MattermostModule/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241326969,"owners_count":19944674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","chatclient","chatroom","laminas","laminas-module","laminas-mvc","mattermost","php","zend-framework","zend-module"],"created_at":"2025-03-01T06:25:09.579Z","updated_at":"2025-11-24T15:04:45.609Z","avatar_url":"https://github.com/DGAC.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat module for Laminas and Bootstrap 3\n\n**WIP : This module is usable but it needs more love :)**\n\n** 0.2.x version are for ZF2 ; 0.3.x and further for ZF3/Laminas **\n\n## Mandatory screenshot\n\n![screenshot](https://raw.githubusercontent.com/DGAC/MattermostModule/master/mattermostmodule.png)\n\n## Installation\n\n```composer require dgac/mattermostmodule```\n\n## Configuration\n\n* Add module in your application modules\n\n* Use ```mattermostmessenger.local.php.dist``` to add your configuration\n\n## Usage\n\n* Add CSS files to your view. \n\n  - Bootstrap 3\n  - Font Awesome 5\n\nExample : \n\n```php\necho $this-\u003eheadLink()\n              -\u003eappendStylesheet($this-\u003ebasePath() . '/\u003cpath to your bootstrap\u003e/bootstrap.min.css')\n              -\u003eappendStylesheet($this-\u003ebasePath() . '/assets/css/font-awesome.all.min.css')\n              -\u003eappendStylesheet($this-\u003ebasePath() . '/assets/css/mattermostchat.css');\n\n```\n\n* Add javascript dependencies (see bower.json)\n\n  - JQuery\n  - JQuery-UI\n  - Bootstrap 3\n  - Moment.js : http://momentjs.com/\n  - List.js : http://listjs.com/\n  - Marked : https://github.com/chjj/marked\n  - JS Cookie : https://github.com/js-cookie/js-cookie\n\nExample :\n\n```php\necho $this-\u003eheadScript()\n    -\u003eappendFile($this-\u003ebasePath() . '/\u003cpath to your jquery\u003e/jquery.min.js')\n    -\u003eappendFile($this-\u003ebasePath() . '/\u003cpath to your jquery-ui\u003e/jquery-ui.min.js')\n    -\u003eappendFile($this-\u003ebasePath() . '/\u003cpath to your bootstrap\u003e/bootstrap.min.js')\n    -\u003eappendFile($this-\u003ebasePath() . '/\u003cpath to your momentjs\u003e/moment.min.js')\n    -\u003eappendFile($this-\u003ebasePath() . '/\u003cpath to your list.js\u003e/list.min.js')\n    -\u003eappendFile($this-\u003ebasePath() . '/\u003cpath to your marked.js\u003e/marked.min.js')\n    -\u003eappendFile($this-\u003ebasePath() . '/\u003cpath to your js-cookie\u003e/js-cookie.js')\n    -\u003eappendFile($this-\u003ebasePath() . '/assets/js/mattermostchat.js');\n```\n \n* Use view helper :\n```html\n\u003cdiv class=\"chat-container\"\u003e\n    \u003c?php echo $this-\u003emattermost();?\u003e\n\u003c/div\u003e\n```\n\n* And finally configure the Jquery UI Widget :\n```javascript\n$('.chat-container').mattermost({\n            baseUrl: '\u003c?php echo $this-\u003ebasePath(); ?\u003e',\n            userName: '\u003c?php echo $this-\u003emattermost['login'];?\u003e',\n            teamName: '\u003c?php echo $this-\u003emattermost['team_id'];?\u003e',\n            channelId: '\u003c?php echo $this-\u003emattermost['defaultchannelid'];?\u003e',\n            token: '\u003c?php echo $this-\u003emattermost['token'];?\u003e',\n            serverUrl: '\u003c?php echo $this-\u003emattermost['server_url'];?\u003e'\n        });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgac%2Fmattermostmodule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgac%2Fmattermostmodule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgac%2Fmattermostmodule/lists"}