Skip to content

WIP: A websocket layer for realtime notifications and content updates

Notifications You must be signed in to change notification settings

phproject-plugins/push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

push

A websocket layer for realtime notifications and content updates

Installation

Install the plugin and its dependencies:

cd app/plugin/
git clone https://github.com/phproject-plugins/push.git
cd push/
composer install

Copy config-sample.php to config.php and edit the values to match your preferred setup.

Usage

The Push plugin has two major components, the Phproject integration layer that's autoloaded automatically, and the websocket server for browser connections.

To start the websocket server, start bin/push-server.php as a background process. One way to do this would be using GNU screen:

screen -S push -d -m php .../app/plugin/push/bin/push-server.php

About

WIP: A websocket layer for realtime notifications and content updates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published