library slack-notify
very simple class for sending slack notificacions
iribarren/slack-notify
very simple class for sending slack notificacions
- Wednesday, October 11, 2017
- by iribarren
- Repository
- 1 Watchers
- 0 Stars
- 5 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
slack-notify
A very simple class for sending slack notificacions, (*1)
Instalation
composer require iribarren/slack-notify, (*2)
Usage
Create a new SlackNotifier object
Set the slack webhook URL
Set your message and format
Send it!, (*3)
$notifier = new SlackNotifier();
$notifier->setSlackWebHookUrl("YOUR_SLACK_WEBHOOK_URL");
$notifier->setText("I think you all should take a rest");
$notifier->setUserName("Boss");
$notifier->setChannel("#dev-team");
$notifier->notify()
dev-master
9999999-dev
very simple class for sending slack notificacions
Sources
Download
The Requires
by
iribarren