library monotify
Send notification to files, email, databases, various alert services
monotify/monotify
Send notification to files, email, databases, various alert services
- Sunday, December 18, 2016
- by eljam
- Repository
- 1 Watchers
- 0 Stars
- 7 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
monotify
Send notification to files, email, databases, various alert services, (*1)
<?php
use Monotify\Handler\SlackHandler;
use Monotify\Handler\HipchatHandler;
use Monotify\Notification\Notification;
use Monotify\Notifier;
require 'vendor/autoload.php';
$notifier = new Notifier('realtime-notifier');
$notifier->addHandler(new SlackHandler(
'yourhookurl',
'channel' // without the #
));
$notifier->addHandler(new HipchatHandler(
'yourtoken',
'room' // string or id
));
$notifier->notify((new Notification('this is a realtime notification')));
dev-master
9999999-dev
Send notification to files, email, databases, various alert services
Sources
Download
MIT
The Requires
The Development Requires
by
eljam