ChromePhpLogger by soma

Adds support for using ChromePhp Browser Extension in ProcessWire

Chrome Php Logger 0.0.4

Module to log useful details directly in your Chrome JS console. You can inspect most as objects and see infos or values.

To enable logging with this module you have to enable debug modus in site/config.php. If debug is set to false, it will not output any log.

Important: It is not recommended to enable it on live stage, as it reveals infos you might not want everybody to see, although it's not obvious as it requires the ChromePhp Extension installed and enabled.

  • logs render time
  • memory consumption
  • cpu usage (not supported on Windows)
  • user infos with permissions and current page permissions
  • current page with all its fields and their value and field settings
  • page cache/loaded on request count
  • fuel
  • modules loaded
  • server vars etc.
  • mySQL query log

When installed you can also use ChromePhp static methods to output your own data your templates:

ChromePhp::log($page->somefield);

Since 0.0.5 you can also skip the logging for a page by setting the property skipChromePhpLogger to the page object

$page->skipChromePhpLogger = 1;

Note: This module requires the ChromeLogger 4.0.2+ Extension installed to see the log in the Javascript console. More infos can be found on http://chromephp.com.

created: 12/12/12 by Philipp "Soma" Urlich

Install

  • Put the Downloaded folder named as "ChromePhpLogger" into your site/modules/ folder
  • Install it from the Modules screen in the admin panel.
  • Enable the ChromePhp Extension for your site in the Browser, simply click the icon in the plugin bar
  • Enjoy

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Twitter updates

  • There’s a new modules directory on the ProcessWire site now up and running. In this post we’ll cover a few details about what’s changed and what’s new—More
    20 November 2020
  • ProcessWire 3.0.168 core updates — More
    26 October 2020
  • This week a 2nd new module for processing Stripe payments has been added to FormBuilder. Unlike our other Stripe Inputfield, this new one supports 3D Secure (SCA) payments. We’ll take a closer look at it in this post, plus a live demo— More
    16 October 2020

Latest news

  • ProcessWire Weekly #342
    In the 342nd issue of ProcessWire Weekly we're going to check out brand new admin theme called Admin Theme Canvas, a new module called MatomoWire, latest ProcessWire core updates, and more. Read on!
    Weekly.pw / 28 November 2020
  • New ProcessWire modules directory
    There’s a new modules directory on the ProcessWire site now up and running. In this post we’ll cover a few details about what’s changed and what’s new.
    Blog / 20 November 2020
  • Subscribe to weekly ProcessWire news

“Indeed, if ProcessWire can be considered as a CMS in its own right, it also offers all the advantages of a CMF (Content Management Framework). Unlike other solutions, the programmer is not forced to follow the proposed model and can integrate his/her ways of doing things.” —Guy Verville, Spiria Digital Inc.