ccampbell/chromephp

class for logging PHP variables to Google Chrome console

PHP

1,370

64 commits

updated Jan 9, 2023

See the code

README

Overview

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

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

Requirements

  • PHP 5 or later

Installation

  1. Install the Chrome extension from: https://chrome.google.com/extensions/detail/noaneddfkdjfnfdakjjmocngnfkfehhd

  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::log($_SERVER);
    ChromePhp::warn('something went wrong!');
    

More information can be found here: http://www.chromelogger.com

console
logging
php

ccampbell/chromephp

class for logging PHP variables to Google Chrome console

PHP

1,370

64 commits

updated Jan 9, 2023

See the code

README

Overview

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

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

Requirements

  • PHP 5 or later

Installation

  1. Install the Chrome extension from: https://chrome.google.com/extensions/detail/noaneddfkdjfnfdakjjmocngnfkfehhd

  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::log($_SERVER);
    ChromePhp::warn('something went wrong!');
    

More information can be found here: http://www.chromelogger.com

console
logging
php

Significant stargazers

Andrew Bucknall

61 followers · starred Aug 2010

Todd H. Page

55 followers · starred May 2013

Jan Beck

45 followers · starred Jun 2011

Dennis Skinner

18 followers · starred Dec 2017