PHPackages                             alb/twig-reflection-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. [Templating &amp; Views](/categories/templating)
4. /
5. alb/twig-reflection-bundle

ActiveLibrary[Templating &amp; Views](/categories/templating)

alb/twig-reflection-bundle
==========================

Displays what's in Twig (functions, filters, etc)

0.1.0(13y ago)152.5k2[1 issues](https://github.com/arnaud-lb/TwigReflectionBundle/issues)MITPHP

Since Jan 19Pushed 13y ago2 watchersCompare

[ Source](https://github.com/arnaud-lb/TwigReflectionBundle)[ Packagist](https://packagist.org/packages/alb/twig-reflection-bundle)[ RSS](/packages/alb-twig-reflection-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Twig Reflection Bundle
======================

[](#twig-reflection-bundle)

Displays what's in Twig.

Twig Relfection bundle provides commands for listing functions, filters, tests.

Example
-------

[](#example)

```
$ ./app/console twig:list:functions
Function                                                 Extension
asset($path, $packageName = NULL)                        assets
assets_version($packageName = NULL)                      assets
code($template)                                          demo
constant($const_name)                                    core
csrf_token()                                             form
cycle($values, $i)                                       core
date($date = NULL, $timezone = NULL)                     core
dump()                                                   debug
[...]

```

Install
-------

[](#install)

```
$ composer require alb/twig-reflection-bundle:*

```

Enable the bundle
-----------------

[](#enable-the-bundle)

Enable the bundle in the kernel:

```
