vnotifier Realtime notifications for Yii

  1. Requirements
  2. Usage
  3. Links
  4. Changelog
  5. Roadmap

This extension provides a Node.js application (notification server), and a set of Yii classes for easy usage.

Requirements

  • Working Node.js
  • Node.js modules: redis, socket.io
  • Working Redis server

Usage

  • set yii application component in config/main.php
'components' => array(
  'user' => array(
    'class' => 'ext.yii-vNotifier.NotifiedWebUser',
    ...
  ),
  ...
  'notifier' => array(
      'class' => 'ext.yii-vNotifier.VNotifier',
      'apiSecret' => 'extremlysecureapikey'
  ),
),
...
  • start redis
  • start notification-server.js
  • send notifications from your app :)

Links

Changelog

v0.0.2
  • drop messagestores
  • using api server (node app)
  • simplified structure
    v0.0.1
  • first release

Roadmap

v0.1.0
  • Nice notifications
  • Error handling
  • Node app: secret handling
  • Documentation
7 0
27 followers
691 downloads
Yii Version: 1.1
License: MIT
Category: Others
Developed by: voidcontext
Created on: Jan 13, 2013
Last updated: 11 years ago

Downloads

show all

Related Extensions