Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

FuelPHP Pusher Package

This is based on the [https://github.com/squeeks/Pusher-PHP](Pusher PHP generic library).

How To Use It

  1. Place the directory inside fuel/packages

  2. Load the package by adding it to the 'Always Load Packages' in your app/config/config.php

<?php
'always_load'  => array(

	...

	'packages'  => array(
		//'orm'
		'pusherapp',
	),

	...
), ?>
  1. You can now load up an instance of Pusher with:
<?php
\Pusherapp::forge()->trigger('channel_name', 'event_name', 'data');
  1. Enable debugging mode by passing true to forge():
<?php
\Pusherapp::forge(true)->trigger('channel_name', 'event_name', 'data');

About

Based on Pusher PHP library

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.