2017 © Pedro Peláez
 

library slack-notify

very simple class for sending slack notificacions

image

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

The README.md

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

The Versions

11/10 2017

dev-master

9999999-dev

very simple class for sending slack notificacions

  Sources   Download

The Requires

  • php >=5.3.0

 

by Avatar iribarren