dev-master
9999999-devSimple Slack notifier
MIT
The Requires
extension yii2 slack
1.0.1
1.0.1.0Simple Slack notifier
MIT
The Requires
extension yii2 slack
1.0.0
1.0.0.0Simple Slack notifier
MIT
The Requires
extension yii2 slack
Wallogit.com
2017 © Pedro Peláez
Simple Slack notifier
Simple Slack notifier, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist chornij/yii2-slack "~1.0"
or add, (*4)
"chornij/yii2-slack": "~1.0"
to the require section of your composer.json file., (*5)
To use Slack you need to set up Slack component:, (*6)
'components' => [
'slack' => [
'class' => 'chornij\slack\Client',
'url' => 'https://hooks.slack.com/services/T00000000/B00000000/PS0000000000000000000000',
'username' => 'My app backend',
],
],
You can also use it for logging:, (*7)
'components' => [
'log' => [
'targets' => [
'slack-errors' => [
'class' => 'chornij\slack\log\SlackTarget',
'levels' => ['error'],
'emoji' => ':monkey_face:',
'exportInterval' => 1,
'logVars' => [],
],
],
],
],
Simple Slack notifier
MIT
extension yii2 slack
Simple Slack notifier
MIT
extension yii2 slack
Simple Slack notifier
MIT
extension yii2 slack