iribarren / slack-notify
very simple class for sending slack notificacions
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/iribarren/slack-notify
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-11-16 10:58:01 UTC
README
A very simple class for sending slack notificacions
Instalation
composer require iribarren/slack-notify
Usage
Create a new SlackNotifier object Set the slack webhook URL Set your message and format Send it!
$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()