bdk/debug

Browser/javascript like console class for PHP

v1.3.2 2015-08-25 03:18 UTC

README

Browser/javascript like console class for PHP

Website/Usage/Examples: http://www.bradkent.com/?page=php/debug

  • PHP port of the javascript web console api
  • multiple output paths
  • custom error handler
    • errors (even fatal) are captured / logged / displayed
    • send error notices via email (throttled as to not to send out a flood of emails)
  • password protected
  • send debug log via email

Screenshot of PHPDebugConsole's Output

Installation

This library requires PHP 5.4 (function array dereferencing, closure $this support) or later and has no userland dependencies.

It is installable and autoloadable via Composer as bdk/debug.

{
    "require": {
        "bdk/debug": "~1.3",
    }
}

Alternatively, download a release or clone this repository, then require or include its Debug.php file

See http://www.bradkent.com/?page=php/debug for more information

Methods

  • log
  • info
  • warn
  • error
  • assert
  • count
  • group
  • groupCollapsed
  • groupEnd
  • table
  • time
  • timeEnd
  • more

Tests / Quality

Build Status
SensioLabsInsight

Changelog

http://www.bradkent.com/?page=php/debug#changelog