iribarren/slack-notify

There is no license information available for the latest version (dev-master) of this package.

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

dev-master 2017-10-10 22:07 UTC

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()