Log variables to the Chrome console (via Chrome Logger Google Chrome extension).

Installs: 1 178 868

Dependents: 38

Suggesters: 6

Security: 0

Stars: 1 321

Watchers: 80

Forks: 452

Open Issues: 38

4.1.0 2013-06-26 03:44 UTC

This package is not auto-updated.

Last update: 2020-03-28 06:31:05 UTC


ChromePhp is a PHP library for the Chrome Logger Google Chrome extension.

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


  • PHP 5 or later


  1. Install the Chrome extension from:

  2. Click the extension icon in the browser to enable it for the current tab's domain

  3. Put ChromePhp.php somewhere in your PHP include path

  4. Log some data

    include 'ChromePhp.php';
    ChromePhp::log('Hello console!');
    ChromePhp::warn('something went wrong!');

More information can be found here: