vallbo/slack-incoming-web-hooks

Slack Incoming WebHooks PHP vendor

Installs: 4 614

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/vallbo/slack-incoming-web-hooks

01.00.1 2018-01-05 14:51 UTC

This package is auto-updated.

Last update: 2025-09-23 22:13:51 UTC


README

Incoming web hooks help

Help for Slack Web Hook App: https://api.slack.com/incoming-webhooks

Usage example

use Vallbo\SlackNotification\Adapter\GuzzleConnector;
use Vallbo\SlackNotification\NotificationFactory\NotificationMessageFactory;


$factory = new NotificationMessageFactory(
    '<hook URI>'
);

$message = $factory->createNotificationMessage('TEST', 'fun');

$connector = new GuzzleConnector(new \GuzzleHttp\Client());

$connector->sendNotification($message);