tumtum/symfony-twig-ray

SymfonyTwigRay extends the Twig templating engine in a Symfony project by adding ray() debugging functions.

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.0.0 2025-07-07 15:15 UTC

This package is auto-updated.

Last update: 2025-07-07 15:17:38 UTC


README

composer require --dev tumtum/symfony-twig-ray

SymfonyTwigRay extends the Twig templating engine in a Symfony project by adding specialized debugging functions. With these functions, you can easily send variables to Ray in different color-coded highlights, making it simpler to track, analyze, and resolve potential issues in your codebase.

{{ ray(variable) }}

{{ rayGreen(variable) }}
{{ rayOrange(variable) }}
{{ rayRed(variable) }}
{{ rayPurple(variable) }}
{{ rayBlue(variable) }}
{{ rayGray(variable) }}

License

The MIT License (MIT). Please see License File for more information.