Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



28 Commits

Repository files navigation

This extension allow making conversations directly on Mattermost platform without touching Live Helper Chat back office completely.

Mattermost is a Slack, Rocket.Chat alternative.


Min 3.62v Live Helper Chat version.

Youtube video can be found here

See image

How it works

  1. customer requests a chat from your website
  2. Live Helper Chat will send a message into a specified channel with a button to accept this chat request
  3. One operator will click the button to accept the request (the message now disappears)
  4. Live Helper Chat will now create a new channel for this chat and invites the operator
  5. All messages from the customer will appear in this new channel and all messages from the operator will apear to the customer on your website, even files can be made aviable for the customer or for the operator
  6. (optional) The Channel will be deleted after a given amount of time after the chat has been completed. All chats are still aviable in Live Helper Chat Backoffice for the manager

Install instructions for Mattermost part

  1. I would suggest creating a new team dedicated just for your customers.
  2. Create a user under which Live Helper Chat will be sending messages, creating channels and webhooks. It should be a user with admin permissions.
  3. Create one channel in this group where live chat request will appear.
  4. Invite few operators to this group.

Install instructions for Live Helper Chat

  1. Clone github repository
  2. Move mattermost directory in extension/ directory
  3. Activate extension in main Live Helper Chat settings file lhc_web/settings/settings.ini.php file
'extensions' => 
    array (          
  1. Modify main composer.json file under lhc_web folder and add
"require": {
    "gnello/php-mattermost-driver": "dev-master#e4ba6c4db5de05a1ca8685ed54adf8ab13afb448"
  1. Update composer dependencies by executing composer install or composer update from lhc_web folder
  2. Clean cache. Just click clean cache in Live Helper Chat back office.
  3. Execute doc/install.sql on database manager or just run. You will have to wait 10 seconds for queries to be executed.
    php cron.php -s site_admin -e mattermost -c cron/update_structure
  4. Navigate to back office of Live Helper Chat, under module you will find Mattermost section.
  5. To delete old Mattermost chats you should be having this cronjob
    php cron.php -s site_admin -e mattermost -c cron/archive


  • Check mattermost server for an error
  • Check cache/default.log for an error in Live Helper Chat
  • Check audit log in Live Helper Chat back office


Staying online

Because most of the time you won't be logged to Live Helper Chat back office, system won't know are you online or not. To avoid the offline widget you can set up

Permanently delete old chats

For Mattermost to remove completely old chats instead of soft deletes. Mattermost has to have configured permanent deletion. Otherwise you will encounter issue #7

Disable reopening old chats

Make sure you have disabled re-opening old chats.

Read issue #8


Live Helper Chat and Mattermost integration. Chat with your site visitors directly on Mattermost without touching Live Helper Chat back office completely.








No releases published


No packages published