2017 © Pedro Peláez
 

symfony-bundle external-var-dumper-bundle

Externalize Symfony VarDumper dumps

image

omouren/external-var-dumper-bundle

Externalize Symfony VarDumper dumps

  • Friday, April 6, 2018
  • by omouren
  • Repository
  • 1 Watchers
  • 3 Stars
  • 508 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 30 % Grown

The README.md

ExternalVarDumperBundle

SensioLabsInsight, (*1)

The ExternalVarDumperBundle allows you to redirect Symfony dumps (VarDumper) to an external web service. Usefull to debug applications like REST APIs, background console commands or other applications that you don't have a direct output or that you can't break with a dump in the middle of the response., (*2)

Installation

Via Composer, (*3)

``` bash $ composer require omouren/external-var-dumper-bundle, (*4)


Register the bundle in the application kernel : ```php <?php // app/AppKernel.php // ... public function registerBundles() { $bundles = [ // ... new Omouren\ExternalVarDumperBundle\OmourenExternalVarDumperBundle(), // ... ]; // ...

Add configuration (optional) :, (*5)

# app/config/config.yml
debug:
    dump_destination: "tcp://dumper-viewer:8080"

omouren_external_var_dumper:
    enabled: true

Usage

<?php
// ...
dump($var);

VarDumper Viewer

Viewer in Vue.js to catch and see your dumps : external-var-dumper-viewer, (*6)

With Pre-built Docker image ``` bash, (*7)

By default, internaly server use port 8080

$ docker run --rm -p 80:8080 -ti omouren/external-var-dumper-viewer:latest, (*8)

You can override it with custom port by an environment variable

$ docker run --rm -e "PORT=1337" -p 80:1337 -ti omouren/external-var-dumper-viewer:latest, (*9)

Now go to http://localhost:80

```, (*10)

Var Dumper Viewer, (*11)

The Versions

06/04 2018

dev-master

9999999-dev

Externalize Symfony VarDumper dumps

  Sources   Download

MIT

The Requires

 

by Olivier Mouren

api debug dump external webservice

02/11 2017

1.0.4

1.0.4.0

Externalize Symfony VarDumper dumps

  Sources   Download

MIT

The Requires

 

by Olivier Mouren

api debug dump external webservice

19/10 2017

1.0.3

1.0.3.0

Externalize Symfony VarDumper dumps

  Sources   Download

MIT

The Requires

 

by Olivier Mouren

api debug dump external webservice

19/10 2017

1.0.2

1.0.2.0

Externalize Symfony VarDumper dumps

  Sources   Download

MIT

The Requires

 

by Olivier Mouren

api debug dump external webservice

18/10 2017

1.0.1

1.0.1.0

Externalize Symfony VarDumper dumps

  Sources   Download

MIT

The Requires

 

by Olivier Mouren

api debug dump external webservice

15/10 2017

1.0.0

1.0.0.0

Externalize Symfony VarDumper dumps

  Sources   Download

MIT

The Requires

 

by Olivier Mouren

api debug dump external webservice