PHPackages                             hyoa/twig-profiler-variables-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. hyoa/twig-profiler-variables-bundle

ActiveSymfony-bundle[Debugging &amp; Profiling](/categories/debugging)

hyoa/twig-profiler-variables-bundle
===================================

Show variables send to twig when using render method

1.0.3(7y ago)013MITPHP

Since Jan 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hyoa/twig-profiler-variables-bundle)[ Packagist](https://packagist.org/packages/hyoa/twig-profiler-variables-bundle)[ RSS](/packages/hyoa-twig-profiler-variables-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (3)Used By (0)

TwigProfilerVariablesBundle
===========================

[](#twigprofilervariablesbundle)

Description
-----------

[](#description)

Allow to see variables send by a controller to the twig template. Variables that cannot be serialized are ignored (it's variable that contain closure)

Installation
------------

[](#installation)

The bundle is designed to work with Symfony 3.4 or 4.x. Older version are not supported.

Install the bundle via Composer:
`composer require --dev hyoa/twig-profiler-variables-bundle dev-master`

Enable the bundle in your kernel:

\####Symfony 4.x

```
# config/packages/framework.yaml
framework:
    ...
    templating:
        engines: ['profiler_variables']
```

```
// config/bundles.php
