Skip to content

class for logging PHP variables to Google Chrome console

Notifications You must be signed in to change notification settings

mpmont/chromephp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 

Repository files navigation

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.

INSTALLATION
1.  Download the Chrome extension from: https://chrome.google.com/extensions/detail/noaneddfkdjfnfdakjjmocngnfkfehhd
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.  Load the helper $this->load->helper('ChromePhp');
4.  Log your stuff -> ChromePhp::log('hello world');

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


Copyright 2012 Craig Campbell

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

class for logging PHP variables to Google Chrome console

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • PHP 100.0%