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 Extensions Bundle Laravel Package

widop/twig-extensions-bundle

WidopTwigExtensionsBundle integrates the widop/twig-extensions library into Symfony, registering extra Twig filters, functions, and extensions through the bundle so templates get handy helpers for text, URLs, and more without manual service wiring.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. borrow for templating helpers. This bundle is a ready-made library of extra Twig filters/functions (text truncation, word wrapping, string manipulation and similar presentational helpers). A PM can use it as a scoping reference: before funding custom filter work, check whether the exact behavior already exists here and can be lifted or reimplemented cheaply.
  • Roadmap triage for legacy surfaces. If this package is already inside a product, it is a roadmap line item: schedule a deprecation/replacement spike rather than leaving it as silent technical debt. If it is not inside the product, the decision is a fast "no" and the roadmap stays clean.
  • Feature-level make/buy for content presentation. Any feature that formats user-facing text in templates (excerpts, bylines, slug previews, RSS summaries) maps onto this package's scope. It gives a PM a concrete checklist of candidate behaviors to prioritize or explicitly defer.
  • Vendor-risk review of the dependency portfolio. With ~2 stars, a 0.04 quality signal, and zero dependents, this is a textbook "single-maintainer, no-ecosystem" dependency. It supports a portfolio decision: no new adoption, and if present, contain it behind a boundary.
  • Use cases it meaningfully serves: only legacy Symfony 2.x/3.x applications that already declare it and rely on its specific filters. It does not support greenfield work, modern Symfony, or anything with a security or performance bar.

When to Consider This Package

Consider it only when all of the following hold:

  • You are maintaining an existing legacy Symfony application (Symfony 2/3 era, old PHP) that already depends on this bundle and cannot be upgraded in the same cycle.
  • You need a specific, narrow string/formatting filter whose exact output must be preserved for backward compatibility, and reimplementing it carries regression risk.
  • You have the appetite to vendor or fork the code into your own tree so you are not exposed to an unmaintained upstream.

Look elsewhere when any of these are true:

  • You are starting a new project or upgrading to PHP 8+ / modern Symfony. Use Twig's native filters, the maintained twig/extra-bundle, or Symfony's String component instead.
  • You need active maintenance, security patching, or a support contract. Two stars and zero dependents is a clear signal that no one is home.
  • You only need one or two helpers. Writing a small custom Twig extension in-house is lower total cost than importing a dead bundle.
  • Your policy requires pinned, audited dependencies with a maintained release cadence.

How to Pitch It (Stakeholders)

For executives (one paragraph): We evaluated a small open-source add-on that supplies extra text-formatting helpers for our templating layer. It is functionally narrow and, more importantly, effectively unmaintained — negligible community adoption and no downstream users. Recommendation: do not add it to any product. If it already exists in a legacy codebase, treat it as low-severity technical debt and fold its removal or replacement into the next planned maintenance window; there is no urgent action and no customer-visible risk today.

For engineering (summary): The package's functionality overlaps with native Twig filters, twig/extra-bundle, and the Symfony String component, all of which are actively maintained. Do not introduce it as a new dependency. For any legacy service that already uses it, either (a) inline the two or three filters you actually call as a local Twig extension, or (b) migrate to the maintained equivalents with a characterization test that pins current output before switching. Budget this as a small, contained task — not a migration project. Flag it in the dependency inventory as "contain, don't extend."

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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox