Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/symfony/mattermost-notifier
Symfony Mattermost Notifier Bridge
https://github.com/symfony/mattermost-notifier
component mattermost notifier php symfony symfony-component
Last synced: about 1 month ago
JSON representation
Symfony Mattermost Notifier Bridge
- Host: GitHub
- URL: https://github.com/symfony/mattermost-notifier
- Owner: symfony
- License: mit
- Created: 2020-02-10T12:39:19.000Z (almost 5 years ago)
- Default Branch: 7.1
- Last Pushed: 2024-09-27T08:40:40.000Z (about 2 months ago)
- Last Synced: 2024-09-30T16:23:18.099Z (about 2 months ago)
- Topics: component, mattermost, notifier, php, symfony, symfony-component
- Language: PHP
- Homepage: https://symfony.com/notifier
- Size: 96.7 KB
- Stars: 8
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Mattermost Notifier
===================Provides [Mattermost](https://mattermost.com) integration for Symfony Notifier.
DSN example
-----------```
MATTERMOST_DSN=mattermost://ACCESS_TOKEN@HOST/PATH?channel=CHANNEL_ID
```where:
- `ACCESS_TOKEN` is your Mattermost access token
- `HOST` is your Mattermost host
- `PATH` is your Mattermost sub-path (optional)
- `CHANNEL_ID` is your Mattermost default channel idUsage
-----```
// to post to another channel
$options = new MattermostOptions();
$options->recipient('{channel_id}');$message = (new ChatMessage($text))->options($options);
$chatter->send($message);
```Resources
---------* [Contributing](https://symfony.com/doc/current/contributing/index.html)
* [Report issues](https://github.com/symfony/symfony/issues) and
[send Pull Requests](https://github.com/symfony/symfony/pulls)
in the [main Symfony repository](https://github.com/symfony/symfony)