PHP Dumper using Websockets
JavaScript PHP HTML ApacheConf
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
io
src
views
www
.bowerrc
.gitignore
.jshintrc
Gruntfile.js
README.md
bower.json
composer.json
package.json
phpunit.xml

README.md

Dumper

PHP Dumper using Websockets

Install

npm install

Grunt available tastks

Available tasks
           php  Start a PHP-server *
         build  create js dist files.
            js  jshint js files.
         serve  Start a PHP-server and watch tasks.

Start the socket.io server

node io/server.js

Start the PHP server

grunt serve

Silex integration

$app->get('/api/hello', function (Application $app) {
    $app['dumper']->error("Hello world1");
    $app['dumper']->info([1,2,3]);

    return $app->json('OK');
});