All Projects → darkwhispering → pusher-for-codeigniter

darkwhispering / pusher-for-codeigniter

Licence: MIT license
CodeIgniter library for Pusher PHP SDK

Programming Languages

PHP
23972 projects - #3 most used programming language
hack
652 projects

Projects that are alternatives of or similar to pusher-for-codeigniter

coebot-www
A web interface for CoeBot, a Twitch chat bot
Stars: ✭ 12 (-55.56%)
Mutual labels:  pusher
codeigniter-log-viewer
This is a simple Log Viewer for viewing Code Igniter logs on the browser and via API clients
Stars: ✭ 80 (+196.3%)
Mutual labels:  codeigniter
e-learningCodeigniter
E-learning web app with admin panel, Codeigniter Framework
Stars: ✭ 34 (+25.93%)
Mutual labels:  codeigniter
CodeIgniter-HMVC
CodeIgniter 3.1.10 with Modular Extensions - HMVC and Whoops Error Handling Framework 2.5.0
Stars: ✭ 30 (+11.11%)
Mutual labels:  codeigniter
portal-news
Portal news project built with Codeigniter 3
Stars: ✭ 46 (+70.37%)
Mutual labels:  codeigniter
chatkit-server-node
Node.js SDK for Pusher Chatkit
Stars: ✭ 16 (-40.74%)
Mutual labels:  pusher
Kalkun
Open Source Web based SMS Manager
Stars: ✭ 186 (+588.89%)
Mutual labels:  codeigniter
anofie
Anofie is an ultimate anonymous feedback script for personal & corporate use. A sarahah clone script to collect honest suggestions & feedback.
Stars: ✭ 21 (-22.22%)
Mutual labels:  codeigniter
food-delivery-ios-app
A food delivery application built using Swift for iOS. The application uses Pushers notifications feature to send push notifications to mobile devices.
Stars: ✭ 36 (+33.33%)
Mutual labels:  pusher
codeigniter3-filename-checker
CodeIgniter3 Filename Checker
Stars: ✭ 21 (-22.22%)
Mutual labels:  codeigniter
cszcms
Open Source CMS (Content Management System) with Codeigniter and Bootstrap.
Stars: ✭ 47 (+74.07%)
Mutual labels:  codeigniter
angular-openid-connect-php
Angular & PHP CodeIgniter server through OAuth 2.0 OpenID Connect
Stars: ✭ 14 (-48.15%)
Mutual labels:  codeigniter
user-registration-codeigniter
PHP based user registration system. Built using CodeIgniter and Bootstrap. Has token based verification, password reset functionality, login page, register page and more.
Stars: ✭ 61 (+125.93%)
Mutual labels:  codeigniter
octopub
Publish data easily, quickly and correctly
Stars: ✭ 41 (+51.85%)
Mutual labels:  pusher
simple-codeigniter-rest-api
🔥 Simple PHP code using Codeigniter framework for building Rest API
Stars: ✭ 60 (+122.22%)
Mutual labels:  codeigniter
Adware-ads-network-server
Online Advertising Network Server
Stars: ✭ 44 (+62.96%)
Mutual labels:  codeigniter
devto-scheduler
Live appointment scheduling, created for dev.to contest. Video: https://youtu.be/LT6YtcJ6dZI
Stars: ✭ 32 (+18.52%)
Mutual labels:  pusher
project-manager-laravel
Project manager system - PHP and AngularJS
Stars: ✭ 17 (-37.04%)
Mutual labels:  pusher
php-clamav-scan
A simple PHP library for ClamAV that is CodeIgniter compatible
Stars: ✭ 35 (+29.63%)
Mutual labels:  codeigniter
powerorm
A very simple but effective php orm
Stars: ✭ 21 (-22.22%)
Mutual labels:  codeigniter

Not maintained

This library is no longer activly maintained or updated. It might still work, but use at your own risk.

Pusher PHP SDK for CodeIgniter

This is a simple library that wraps the Pusher PHP library and give you access to the Pusher methods using regular CodeIgniter syntax.

Requirements

Install

  1. Download the library files and add the them to your CodeIgniter installation. Only the library, config and composer.js files are required.
  2. In CodeIgniter /application/config/config.php set $config['composer_autoload'] to TRUE.
  3. Update the pusher.php config file in /application/config/pusher.php with you app details.
  4. Install the Pusher PHP SDK by navigating to your applications folder and execute composer install.
  5. Autoload the library in application/config/autoload.php or load it where you need it with $this->load->library('ci_pusher');.
  6. Enjoy!

How to use

Example to send a new message to the client

$this->load->library('ci_pusher');
$pusher = $this->ci_pusher->get_pusher();
$pusher->trigger('test_channel', 'my_event', array('message' => 'Hello World'));

More detailed documentation can be found in Pusher PHP SDK documentation

Changelog

v2.0.0 - June 2015
  • Created new function that returns the Pusher object.
  • Removed all of the duplicated Pusher function used in previous version.
  • Made small change to debug class name.
  • Updated example code.
v.1.0.0 - April 2015
  • Initial release.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].