Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Twig Extension Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy (and the answer here is mostly "build"): The package is a Symfony2 bundle that ships Twig extensions (filters/functions/tests). The functionality is small and easy to reimplement, so this is not a strategic dependency — it is at best a reference implementation for extension API shape.
  • Templating strategy: It only matters if Twig is already in the stack. In a Laravel product this is a non-decision: Laravel ships Blade, and Twig-in-Laravel requires twigbridge plus native Twig extensions — a Symfony2 bundle's service wiring will not load in Laravel's container.
  • Legacy maintenance scope: The only defensible use case is keeping an existing Symfony 2.x application alive. That is a support-cost decision (fork it, vendor it, own the patches), not a feature-enabling one.
  • Roadmap impact: None. Symfony 2.x is end-of-life, the repo has 0 stars, 0 dependents, and no community validation or security patching. Adopting it adds supply-chain and maintenance risk with no offsetting capability.
  • Use-case fit: If a spec says "we need X Twig filter/function," treat that as a ~1-day engineering task inside our own codebase, or as a signal to pick a maintained Twig extension library — not as a reason to pull in this bundle.
  • Opportunity signal (13.18) read correctly: Low opportunity score plus zero dependents means "no market here," not "undiscovered gem." Do not spend discovery time on it.

When to Consider This Package

Consider only if all of the following are true:

  • The application is on Symfony 2.x and an upgrade is explicitly out of scope for the planning horizon.
  • You need exactly the extensions it provides, and you have accepted forking and owning the code (pinned commit, internal mirror, your own tests and security review).
  • MIT licensing and the absence of a maintainer are acceptable to your legal/security posture.
  • The team has a documented exit plan tied to the Symfony upgrade.

Look elsewhere if any of these apply:

  • Laravel or any non-Symfony framework — the bundle's DependencyInjection extension and service definitions are Symfony-specific; use Blade, or twigbridge with hand-written Twig extensions.
  • Symfony 3.4+ / 4.x / 5.x / 6.x / 7.x — use native Twig extensions, twig/extra-bundle, or Symfony UX components instead.
  • You need maintained dependencies — zero stars, zero dependents, and no release cadence means no CVE response. Prefer packages with recent commits and a security policy.
  • The need is one or two filters — write them yourself; the integration cost of a third-party bundle exceeds the implementation cost.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route