A simple class to print pretty values in PHP

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/fredericomartini/debug

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

This package is not auto-updated.

Last update: 2025-10-06 17:46:38 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
)