Download the PHP package mati-core/slack-messenger without Composer
On this page you can find all versions of the php package mati-core/slack-messenger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mati-core/slack-messenger
More information about mati-core/slack-messenger
Files in mati-core/slack-messenger
Package slack-messenger
Short Description Slack messenger for nette framework
License MIT
Homepage https://github.com/mati-core/slack-messenger
Informations about the package slack-messenger
Mati-Core | Slack Messenger
Install
Comoposer command:
Configuration
Slack webhook documentations: https://api.slack.com/messaging/webhooks
1) Create your own Slack APP
https://api.slack.com/apps?new_app=1
2) Create webhook
On Slack APP dashboard find "Incoming Webhooks" in left menu and create webhook.
3) Copy webhook url in to your project common.neon
Web hook link example:
Sending messages
Include SlackMessenger service into your presenter
All object are from namespace
Simple formated message example
Section list
Type | Object name |
---|---|
Markdown text | MarkdownSection |
Link | LinkSection |
Link button | LinkBtnSection |
Image | ImageSection |
Action (action buttons) | ActionSection |
Divider | Divider |
You can add custom section just implement MessageSection interface.
Slack message builder:
All versions of slack-messenger with dependencies
nette/application Version ^3.0
nette/security Version ^3.0
nette/utils Version ^3.0
nette/neon Version ^3.0
nette/di Version ^3.0
nette/bootstrap Version ^3.0
baraja-core/package-manager Version ~2.0
guzzlehttp/guzzle Version ^7.3