It's console.log() for PHP!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

PHP Console Log Logo

It's console.log() for PHP!

PHP console::log is a class that is modeled after Chrome's console API. The console class is a wrapper class that inserts logs from PHP into the browser's console.

Demo Output


Include the console class

require_once "console.php";

Variables, objects and arrays can then be passed to the console. The logs are automatically exported to the console.

console::log( "hello world!" );

For more information check out the wiki