Awesome Open Source
Awesome Open Source

Growl GNTP PHP Class

Small and lightweight PHP class for sending notifications to Growl via GNTP.

Example Usage

include 'growl.gntp.php';

$growl = new Growl('IP Address or Hostname', 'optional-password');
$growl->setApplication('Application Name', 'Notification Name');

// Only need to use the following method on first use or change of icon

// Basic Notification
$growl->notify('Title', 'Content goes here!');
// Notification with Image
$growl->notify('Title', 'Content goes here!', '');
// Notification with Image and Link
$growl->notify('Title', 'Content goes here!', '', '');

Port Forwarding

GNTP runs on TCP port 23053, so you are required to set up port forwarding so that incoming notifications are sent to the computer you have Growl installed on.



Growl GNTP PHP Class is licensed under the MIT license, see for details.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
php (16,430