AjglBreakpointTwigExtension

Twig extension to set breakpoints

MIT License

Downloads
6.5M
Stars
42
Committers
5
AjglBreakpointTwigExtension - Symfony 6 and PHP 8.2 support Latest Release

Published by ajgarlag almost 2 years ago

Added

  • Add support for PHP 8.2
  • Add support for Symfony 6

Changed

  • Mark all classes as final
  • Add return type hints
  • Print an empty string with twig breakpoint function
  • Delegate Xdebug detection to composer/xdebug-handler when available

Removed

  • Drop support for PHP<7.4
  • Drop support for Symfony<4.4
  • Drop support for Twig<2.15.3
AjglBreakpointTwigExtension - Support Twig 3 and Symfony 5

Published by ajgarlag over 3 years ago

This version finally supports Twig 3 and Symfony 5

AjglBreakpointTwigExtension - Fix population of $arguments

Published by ajgarlag over 5 years ago

In #11 a bug related to the $arguments variable population was reported.

Thanks to @AlanHatch his PR #12 which fixes the bug.

AjglBreakpointTwigExtension - Fix deprecation warnings

Published by ajgarlag over 5 years ago

Use namespace twig classes

AjglBreakpointTwigExtension - Symfony 4 support

Published by ajgarlag almost 6 years ago

Symfony 4 is officially supported

AjglBreakpointTwigExtension - Twig 2 support

Published by ajgarlag almost 7 years ago

The extension is now compatible with Twig 2.x

AjglBreakpointTwigExtension - Easily inspect the function context

Published by ajgarlag over 8 years ago

Once the debugger to stop, there will be three variables defined to easily inspect the function context:

  • $environment: The Twig_Environment instance.
  • $context: The twig context with all defined variables.
  • $arguments: The arguments passed to the breakpoint twig function itself.
AjglBreakpointTwigExtension - Symfony Bundle

Published by ajgarlag over 8 years ago

This new release includes a Symfony Bundle, so it can be directly integrated into your Symfony app.

AjglBreakpointTwigExtension - Initial release

Published by ajgarlag over 8 years ago

This first release introduces the breakpoint twig function