Create chromephp.php

Install the Chrome extension from: https://chrome.google.com/extensions/detail/noaneddfkdjfnfdakjjmocngnfkfehhd
Click the extension icon in the browser to enable it for the current tab's domain
Put ChromePhp.php somewhere in your PHP include path
Log some data

include 'ChromePhp.php';
ChromePhp::log('Hello console!');
ChromePhp::log($_SERVER);
ChromePhp::warn('something went wrong!');