A simple class to print pretty values in PHP

v0.1.0 2016-11-26 21:27 UTC

This package is not auto-updated.

Last update: 2024-05-06 11:02:59 UTC


README

A simple class to print pretty values in PHP

Installation

There is one recommended way to install debug via Composer:

  • adding the dependency to your composer.json file:
  "require": {
      ..
      "fredericomartini/debug":"0.1.*",
      ..
  }

Simple usage

include_once 'Debug.php';

$var = array(
    'value' => array(
        'test' => 123
    ),
    'another_value' => '5555'
);
\Fma\Debug::run($var);

Output

Array
(
    [value] => Array
        (
            [test] => 123
        )

    [another_value] => 5555
)