• Stars
    star
    122
  • Rank 290,895 (Top 6 %)
  • Language
    PHP
  • Created over 15 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Send Growl notifications over a network using PHP

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.

<?php

    $connection = array('address' => '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');

More Repositories

1

DefaultApp

A highly-opinionated Xcode project template to build a new macOS app with.
Swift
688
star
2

simple-php-framework

The Simple PHP Framework
PHP
506
star
3

sosumi

A PHP client for Apple's Find My iPhone service. This allows you to programmatically retrieve your phone's current location and push messages (and an optional alarm) to the remote device.
PHP
311
star
4

Shine

An web dashboard for indie mac developers.
PHP
125
star
5

Autosmush

Losslessly compresses images in your Amazon S3 buckets on-the-fly.
PHP
121
star
6

MacSosumi

Desktop Find My iPhone client for Mac OS X.
JavaScript
100
star
7

OpenFeedback

A Cocoa framework which allows your users to submit bug reports, feature requests, and ask support questions from directly within your application.
Objective-C
85
star
8

yui-app-theme

A generic, skinnable layout for web applications built using YUI Grids.
76
star
9

php-aws

A collection of PHP classes for working with Amazon's web services platform (AWS).
PHP
73
star
10

html-compressor

An HTML compressor/minifier written in PHP
PHP
64
star
11

s3up

Command line tool to upload files to Amazon S3 for static file hosting according to YSlow's best practices.
PHP
47
star
12

Highwire

Access your Mac's Bonjour services while away from home.
Objective-C
46
star
13

simple-url-shortener

Pretty much the simplest URL shortening service possible.
PHP
44
star
14

Roland

Blog-aware static site generator written in Swift (mostly)
Swift
40
star
15

AlfredSlackSearch

An Alfred.app workflow that searches your organization's Slack chat history.
38
star
16

smushit-php

A PHP wrapper around Yahoo!'s Smush.it image compressing web service.
PHP
34
star
17

google-voice-dialer

Initiates a call using Google Voice (at least until they offer an API)
PHP
33
star
18

AppleDocsChromeExtension

A simple Chrome extension that allows you to quickly search Apple's Mac and iOS documentation using Chrome's omnibox and jump to the matching result on developer.apple.com
31
star
19

photoz

Swift
30
star
20

SurtainlyNot

Swift
29
star
21

capture-thing

A tiny Mac app for capturing notes and additional context throughout your workday.
Swift
27
star
22

Shelley

Swift
27
star
23

ducking

Swift
22
star
24

Fastmail-macOS

A macOS wrapper around Fastmail.com that supports multiple accounts and notifications.
Swift
20
star
25

PebbleCam

A silly hack that lets you use your Pebble smart watch as a remote shutter for your iPhone's camera.
Objective-C
20
star
26

Rockwell

Objective-C
19
star
27

SosumiObjC

An Objective-C library for interacting with Apple's Find My iPhone web service
Objective-C
14
star
28

Gmail-SSB

A bare-bones Gmail single site browser tailored to my needs (not yours).
Objective-C
13
star
29

builder

This is the simplest, possibly dumbest, Xcode / iOS automated build script possible.
Shell
12
star
30

google-shell

A simple command line interface to Google's search index.
12
star
31

growl-twitter-plugin

A plugin for Growl that forwards you notifications to Twitter.
12
star
32

php-geoplanet

A PHP wrapper for Yahoo!'s GeoPlanet API.
PHP
11
star
33

FinderCatalog

Group related files together using a common catalog number and instantly find them on macOS using a URL.
Swift
11
star
34

import-pinboard-archive-to-devonthink

A small PHP script to import your Pinboard bookmarks archive into DEVONThink and convert them into searchable .webarchive files.
PHP
11
star
35

important-people

Quickly determine who are the most influential people talking about a particular search term on Twitter.
PHP
10
star
36

BespokeApp

BespokeApp is a simple open source iOS app that lets you group together realted websites that you frequently visit.
Swift
9
star
37

att-family-map-scraper

Scrapes your AT&T phone's real-time location from their FamilyMap service and publishes it to Fire Eagle.
PHP
9
star
38

roar

Let's reskin Notification Center
Swift
9
star
39

wordpress-social-media-importer

Import your Facebook and Instagram backups into WordPress.
PHP
8
star
40

IndieFAQ

A simple, PHP based FAQ/help site for indie software developers.
PHP
8
star
41

UpNext

A simple Mac menubar app that tells you how much time is left until your next calendar appointment.
Objective-C
8
star
42

CalendarHero

A small weekly calendar that floats on your Mac desktop. Probably doesn't work very well in non-US regions.
Swift
7
star
43

Nostalgia

Batch renames your photos based on their EXIF date.
Objective-C
7
star
44

PHPPayMe

A simple one-page PHP script to accept payments on your website.
PHP
6
star
45

XcodeThemes

Xcode themes I regularly use.
6
star
46

tadpoles-api

A PHP script which pretends to be the Tadpoles.com iPhone app and downloads/backs-up all of your kids' photos and videos from daycare.
PHP
5
star
47

TheTitle

Swift
5
star
48

FlickrDownloadAll

PHP script to download all of your original sized photos from Flickr. Sorts them into folders based on your sets.
PHP
4
star
49

dnc

Swift command line utility to test if a directory or any of its subdirectories do not contain files matching a query.
Swift
4
star
50

WCPE

A one-click iPhone app that streams music from WCPE.
Objective-C
3
star
51

mario-read-aloud

An iPad app I made for my son.
Swift
3
star
52

php-grandcentral-dialer

A simple PHP script that lets you dial a phone number using your Grand Central account.
PHP
3
star
53

Drafts.app-Actions

A collection of Drafts.app actions I've written.
JavaScript
3
star
54

Voxmail

PHP
3
star
55

VHX-Liftoff-Wordpress-Plugin

A WordPress plugin that enables your site to work with VirtualHostX Lift Off.
PHP
3
star
56

Apple-Extensions

Swift
2
star
57

HomeAway

A collection of PHP scripts I use for controlling my house via GeoHooks.io
PHP
2
star
58

wordpress-to-ghost-exporter

A simple PHP script to convert your WordPress blog to Ghost 2.2
PHP
1
star
59

thehitlist-qsb

Google Quick Search Box plugin for The Hit List
1
star
60

wayback-machine-server

PHP
1
star
61

BlurredWindow

Objective-C
1
star
62

cocoa-bindings

A sample Mac app that shows how little code is needed when using bindings.
Objective-C
1
star