symfony/mattermost-notifier
Symfony Notifier integration for Mattermost. Configure via DSN (access token, host/path, default channel) and send ChatMessage notifications, optionally overriding the recipient channel with MattermostOptions.
Provides Mattermost integration for Symfony Notifier.
MATTERMOST_DSN=mattermost://ACCESS_TOKEN@HOST/PATH?channel=CHANNEL_ID
where:
ACCESS_TOKEN is your Mattermost access tokenHOST is your Mattermost hostPATH is your Mattermost sub-path (optional)CHANNEL_ID is your Mattermost default channel id// to post to another channel
$options = new MattermostOptions();
$options->recipient('{channel_id}');
$message = (new ChatMessage($text))->options($options);
$chatter->send($message);
This package is looking for a backer.
Help Symfony by sponsoring its development!
How can I help you explore Laravel packages today?