webonaute / twig-debug-helper-bundle
Allow frontend developper to see in which template the html has been generated by adding template reference in the output source.
Installs: 2 051
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.2
- symfony/framework-bundle: ^3.4 || ^4.0
- twig/twig: ^1.12
This package is auto-updated.
Last update: 2024-12-26 03:49:30 UTC
README
===============================
Help frontend developer to find in which template the html stand in.
Caution: It is highly not recommended to use this bundle in production.
Installation
Symfony <= 3.3
run composer require webonaute/twig-debug-helper-bundle ^1.0
Symfony > 3.4
run composer require webonaute/twig-debug-helper-bundle ^2.0
Configuration
Add these 2 lines to your config_dev.yml
twig:
base_template_class: Webonaute\TwigDebugHelperBundle\Twig\DebugTemplate
License
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE