2017-25 © Pedro Peláez
 

twig-extension dbug-twig-extension

Enable for Twig dBug class as filter (https://github.com/sunra/dBug)

image

sunra/dbug-twig-extension

Enable for Twig dBug class as filter (https://github.com/sunra/dBug)

  • Monday, December 14, 2015
  • by Sunra
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1,160 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

dBug Twig Extension

dBug - https://github.com/sunra/dBug very fine looking(maybe best) html var dumper for PHP., (*1)

This extension for Twig make available dBug in Twig templates, just like:, (*2)

``` twig {{ some_variable|dbug }} or {{ some_variable|d }}, (*3)



## Installation ----- ### add to your composer.json ```json "require": { ..., "sunra/dbug-twig-extension": "0.2.1" },

and run, (*4)

composer.phar update

in Symfony

add to main config, or to specific environment:, (*5)

``` yaml, (*6)

/app/config/config.yml

services: ... dbug.twig.extension: class: Sunra\TwigExtensions\DbugExtension tags: - { name: twig.extension }
..., (*7)



### in Twig template ```twig variable|d or variable|dbug

The Versions

14/12 2015

dev-master

9999999-dev https://github.com/sunra/dbug-twig-extension

Enable for Twig dBug class as filter (https://github.com/sunra/dBug)

  Sources   Download

MIT

The Requires

 

twig dump dbug

14/12 2015

0.2.1

0.2.1.0 https://github.com/sunra/dbug-twig-extension

Enable for Twig dBug class as filter (https://github.com/sunra/dBug)

  Sources   Download

MIT

The Requires

 

twig dump dbug

13/12 2015

0.1.0

0.1.0.0 https://github.com/sunra/dbug-twig-extension

Enable for Twig dBug class as filter (https://github.com/sunra/dBug)

  Sources   Download

MIT

The Requires

 

twig dump dbug