Componette

Componette

manweCZ

manweCZ / simple-slack-messenger 0.2.1

Send simple messages to your slack

download-cloud-line composer require biteit/simple-slack-messenger

Send simple messages to Slack through Webhook API

Installation:

  1. Create a webhook integration for your Slack here: https://my.slack.com/services/new/incoming-webhook/
  2. $$$
$messenger = new \BiteIT\SimpleSlackMessenger('YOUR_WEBHOOK_URL');
$msg = new \BiteIT\SimpleSlackMessage();
$msg->setText('Hello')
    ->setName('MyBotName')
    ->setIconEmoji('hankey');

$messenger->sendSimpleMessage($msg);
bar-chart-fill

Statistics

download-cloud-fill
2695
star-fill
0
bug-fill
0
flashlight-fill
2.1y
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=5.6.0)
Componette Componette felix@nette.org