CFML (ColdFusion) library for the Pusher REST API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Pusher CFML Component

This package contains a thread-safe CFML (ColdFusion) component library for pushing messages using the REST web service.

The CFC is, for the most part, a straight port of Stephan Scheuermann's MIT-licensed Java Pusher library for Google App Engine ('

Get Started

You may choose to either hard-code your Pusher credentials in the CFC, or pass them into the library using the included "init" method.

<cfset push=createObject("component", "pusher").init("[appid]", "[appkey]", "[appsecret]")>

There is one "triggerPush" method. The socket_id parameter is not required.

<cfset push.triggerPush("[channelname]", "[eventname]", "[jsondata]", "[socket_id]")>


This CFC requires JDK version 1.5 or higher. Version 1.4.2 (which ships with CFMX7) lacks the internals to generate HMAC SHA-256 hashes.

This CFC has been tested on Railo (JDK 1.6) and ColdFusion MX 7 (JDK 1.5).


Licensed under the MIT license: