Real time monitoring PHP applications with websockets and node.js
JavaScript PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits behind gonzalo123:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
server
README
test1.php
test2.php

README

A real time monitor for PHP applicacions using node.js and WebSockets

Starting the server:

$ node server.js 
HTTP server started at 192.168.2.2::5672
Web Socket server started at 192.168.2.2::8880

PHP application configuration
place this code at the beggining of the script:

include('NodeLog.php');
NodeLog::init('192.168.2.2', 5672); // ip and port of the node.js http server

Web interface based on nodejs.org chat demo (http://chat.nodejs.org/)