lewisbaker/silex-elephantio

There is no license information available for the latest version (dev-master) of this package.

ElephantIO Service Provider for the Silex PHP Microframework

dev-master 2013-06-06 21:02 UTC

This package is not auto-updated.

Last update: 2024-12-16 13:15:22 UTC


README

#ElephantIO Service Provider for Silex

This is a service provider for the Silex PHP Microframework, it provides access to socket.io via ElephantIO.

##Installation

  1. Add to your composer.json file

    	"require": {
    		"lewisbaker/silex-elephantio": "dev-master"
    	}
    
  2. Install the dependencies

    php composer.phar update

Registering

<?php

$app->register(new LewisB\ElephantIOServiceProvider\ElephantIOServiceProvider(), array(
    'elephant.address' => 'http://localhost:4568'
));

Licensed under the MIT license.