Skip to content
class for logging PHP variables to Google Chrome console
Branch: master
Clone or download
Pull request Compare This branch is 15 commits behind ccampbell:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


version 3.0
This class requires PHP 5 or later.

ChromePhp is a PHP class to go along with the ChromePhp Google Chrome extension.

This class allows you to log variables to the Chrome console.

1.  Download the Chrome extension from:
2.  Put ChromePhp.php somewhere in your PHP include path
3.  Click the extension icon on the browser to enable it for the current site
3.  include 'ChromePhp.php';
4.  ChromePhp::log('hello world');

More information can be found here:
You can’t perform that action at this time.