No description dbug.ospinto.com
Find a file
repat 51c474c46a fixed capital B and lower d in usage
see the class name in usage example
2015-12-14 20:06:08 +01:00
composer.json release 0.1.0 2015-12-13 06:07:38 +02:00
dBug.php old style constructor fixed 2015-12-13 01:12:13 +02:00
LICENSE.txt Added license and readme 2011-02-24 17:49:43 -05:00
README.md fixed capital B and lower d in usage 2015-12-14 20:06:08 +01:00

dBug

  • Updated for PSR-4 copmliance
  • created composer package

NEW

  • Updated to version from August 6th, 2012 of Ospinto's code
  • move to psr-4

Usage

Twig Filter - https://github.com/sunra/dbug-twig-extension

or

Install via Composer - https://packagist.org/packages/sunra/dbug

Class will be autoloaded.

usage


   new \Ospinto\dBug($myVariable);

Class arguments:

__construct ($var,$forceType="",$bCollapsed=false, $var_name='')

$var - variable to dump,
$bCollapsed - view collapsed
$var_name - name of variable - displayed in dump header

More examples at http://dbug.ospinto.com/examples.php

Features

PHP version of ColdFusions cfdump.

Outputs colored and structured tabular variable information.

Variable types supported are: Arrays, Classes/Objects, Database and XML Resources.

Ability to force certain types of output. Example: You can force an object variable to be outputted as an array type variable.

Stylesheet can be easily edited.

Table cells can be expanded and collapsed.

Its FREE!!!