2017 © Pedro Peláez
 

library dumper

The DebugBundle of Symfony 2.6 backported for 2.3+

image

patchwork/dumper

The DebugBundle of Symfony 2.6 backported for 2.3+

  • Monday, April 20, 2015
  • by nicolas-grekas
  • Repository
  • 5 Watchers
  • 88 Stars
  • 26,625 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 11 Forks
  • 2 Open issues
  • 35 Versions
  • 1 % Grown

The README.md

The DebugBundle of Symfony 2.6 backported for 2.3+

This bundle provides a better dump() function, that you can use instead of var_dump(), better meaning:, (*1)

  • per object and resource types specialized view: e.g. filter out Doctrine internals while dumping a single proxy entity, or get more insight on opened files with stream_get_meta_data();
  • ability to dump internal references, either soft ones (objects or resources) or hard ones (=& on arrays or objects properties). Repeated occurrences of the same object/array/resource won't appear again and again anymore. Moreover, you'll be able to inspect the reference structure of your data.
  • ability to operate in the context of an output buffering handler.
  • full exposure of the internal mechanisms used for walking through an arbitrary PHP data structure.

Calling dump($myVvar) works in all PHP code and {% dump myVar %} or {{ dump(myVar) }} in Twig templates., (*2)

Usage

The recommended way to use this package is through composer. Just create a composer.json file and run the php composer.phar install command to install it:, (*3)

{
    "require": {
        "tchwork/debug-bundle": "~1.4"
    }
}

Then, enable the bundle in your app/AppKernel.php, preferably only for the dev and test environments:, (*4)

public function registerBundles()
{
    $bundles = array(
        // ...
        new \Symfony\Bundle\DebugBundle\DebugBundle(),
    );
}

The Versions

02/12 2014

v1.3.6

1.3.6.0 https://github.com/tchwork/debug-bundle

High accuracy and flexible dumping for PHP variables

  Sources   Download

MIT

The Requires

 

dump

26/09 2014
26/09 2014
23/09 2014
19/09 2014
12/09 2014
15/04 2014

v1.1.5

1.1.5.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

15/04 2014

v1.1.4

1.1.4.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

11/04 2014

v1.1.3

1.1.3.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

10/04 2014

v1.1.2

1.1.2.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

10/04 2014

v1.1.1

1.1.1.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

08/04 2014

v1.1.0

1.1.0.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

24/02 2014

v1.0.6

1.0.6.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

20/02 2014

v1.0.5

1.0.5.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

12/02 2014

v1.0.4

1.0.4.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

10/02 2014

v1.0.3

1.0.3.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump

05/02 2014

v1.0.0

1.0.0.0 https://github.com/nicolas-grekas/Patchwork-Dumper

High accuracy and flexible dumping for PHP variables

  Sources   Download

(Apache-2.0 or GPL-2.0)

The Requires

  • php >=5.3.0

 

dump