tailored-tunes/php-slack-notifier

This package is abandoned and no longer maintained. No replacement package was suggested.

A slack adapter

1.0.0 2014-06-25 15:04 UTC

This package is not auto-updated.

Last update: 2021-11-08 12:25:13 UTC


README

A very humble, lightweight library to send messages to slack. That's it. Nothing else.

Installation

Install via composer. Installation help and versions at Packagist

Usage

use TailoredTunes\SlackNotifier;

$slackWebhookUrl = "http://team.slack.com/whatever";

$slack = new SlackNotifier($slackWebhookUrl);
$slack->send('Hi from php code', '#random');