Need help with php-growl?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

tylerhall
124 Stars 18 Forks 11 Commits 4 Opened issues

Description

Send Growl notifications over a network using PHP

Services available

!
?

Need anything else?

Contributors list

PHP-Growl is an implementation of the Growl notification system written in PHP.

As a proof of concept example, I've written a Mint Pepper plugin that notifies you whenever certain events (like new referrals, unique visitors, etc) happen on your website. It's a slick way to stay on top of who is visiting your site. You can download Growl Pepper here.

 '127.0.0.1', 'password' => 'password');
    $growl = new Growl();

// Adding and registering your notifications with Growl
// only needs to be done once per computer. Growl will
// remember your app after this.
$growl->addNotification('Notification Name');
$growl->addNotification('Another Notification');
$growl->register($connection);

// Send a notification
$growl->notify($connection, 'Notification Name', 'Some Title', 'Some message to display');

// Send a second notification
$growl->notify($connection, 'Another Notification', 'Another Title', 'Something useful I hope.');

To configure Growl to use

fsock
instead of
socket
functions you can define a constant:
define('GROWL_SOCK', 'fsock');

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.