jasonroman/twig-extension-bundle
A Symfony bundle that integrates custom Twig extensions into your templating layer, making it easy to register and use additional filters, functions, and tags while keeping extension configuration centralized.
twigbridge plus native Twig extensions — a Symfony2 bundle's service wiring will not load in Laravel's container.Consider only if all of the following are true:
Look elsewhere if any of these apply:
twigbridge with hand-written Twig extensions.twig/extra-bundle, or Symfony UX components instead.To executives: We evaluated jasonroman/twig-extension-bundle and recommend not adopting it. It targets Symfony 2, a framework generation that is no longer supported, and has no community adoption (0 stars, 0 dependents, no maintainer activity). There is no cost saving and no capability we can't build ourselves in a day, so the only thing adoption would add is supply-chain and maintenance risk. No roadmap change; no budget request.
To engineering: This is a Symfony2 bundle providing Twig extensions; it will not wire into a Laravel container, and on modern Symfony it's superseded by native Twig extensions and twig/extra-bundle. If we need equivalent filters/functions, implement them as first-class Twig extensions in our own package (small, testable, ours to patch) or use a maintained library. Treat the repo as documentation of a pattern, not as a dependency. If we are ever asked to support a legacy Symfony 2 app, the decision is fork-and-own with a pinned commit and an upgrade exit plan — flag it to platform owners before it lands in a composer.json.
How can I help you explore Laravel packages today?