AjglBreakpointTwigExtension =========================== The AjglBreakpointTwigExtension component allows you set breakpoints in twig templates. [](https://github.com/ajgarlag/AjglBreakpointTwigExtension/actions) [](https://packagist.org/packages/ajgl/breakpoint-twig-extension) [](https://packagist.org/packages/ajgl/breakpoint-twig-extension) [](https://packagist.org/packages/ajgl/breakpoint-twig-extension) [](https://packagist.org/packages/ajgl/breakpoint-twig-extension) [](https://packagist.org/packages/ajgl/breakpoint-twig-extension) [](https://packagist.org/packages/ajgl/breakpoint-twig-extension) [](https://insight.sensiolabs.com/projects/e0f1276d-6ded-4a20-9b3f-1a7c77a92015) This component requires the [Xdebug] PHP extension to be installed. Installation ------------ To install the latest stable version of this component, open a console and execute the following command: ``` $ composer require ajgl/breakpoint-twig-extension ``` Usage ----- The first step is to register the extension into the twig environment ```php /* @var $twig Twig_Environment */ $twig->addExtension(new Ajgl\Twig\Extension\BreakpointExtension()); ``` Once registered, you can call the new `breakpoint` function: ```twig