PHP code example of mizanur / hipchat-notifier
1. Go to this page and download the library: Download mizanur/hipchat-notifier library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mizanur / hipchat-notifier example snippets
//you can pass your color as second param (red or green or yellow) default is red
$hipchatNotifier->notifyError('YOUR ERROR MESSAGE');
//or
$hipchatNotifier->notifyError('YOUR ERROR MESSAGE', 'green');
//you can pass your color as second param (red or green or yellow) default is green
$hipchatNotifier->notifyInfo('YOUR MESSAGE');
//or
$hipchatNotifier->notifyInfo('YOUR MESSAGE', 'red');