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

Templating Extra Bundle Laravel Package

mremi/templating-extra-bundle

mremi/templating-extra-bundle is a Symfony bundle that adds extra templating helpers and Twig extensions, making views cleaner and more reusable. It provides convenient utilities for common template tasks so you can reduce custom boilerplate in your application’s presentation layer.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

What the package actually is. Despite being evaluated in a Laravel/PHP context, mremi/templating-extra-bundle is a Symfony bundle, not a Laravel package. It hooks into Symfony's templating component and the WebProfiler to record which Twig or PHP templates were rendered during a request, adding a panel/collector to the dev toolbar. It is a developer-tooling package, not a runtime library.

Architecture fit. For a Laravel codebase: none. Laravel has no bundle system, no Symfony templating component, no WebProfiler collector pipeline, and renders via Blade/Blade-like engines. Integrating this would require either (a) porting the collector to Laravel's View events and Debugbar, or (b) abandoning Laravel for Symfony. Neither is justified by the package's scope. For a legacy Symfony 2.x/3.x application it fits the intended architecture, but only in dev/test environments.

Integration feasibility. Low. The dependency chain is the blocker: it targets the symfony/templating component, which was deprecated in Symfony 4.3 and removed in Symfony 6, and the Twig bundle profiler has since absorbed most of this functionality natively. Any modern Symfony (5.4+/6.x/7.x) or any Laravel version is effectively out of scope without a rewrite of the collector.

Technical risk. High, driven by project health rather than code complexity:

  • 6 stars, 0 dependents, score 0.03 — essentially zero community validation or downstream production usage.
  • Signatories of abandonment: stale release cadence, single-maintainer bus factor, no ecosystem pressure to keep it compatible.
  • The capability it provides is commoditized: Symfony's own Twig profiler panel already lists rendered templates, and Laravel has Debugbar, Telescope, and Clockwork with view-render timing out of the box.
  • Dev-only tooling reduces blast radius (no runtime security surface if correctly scoped), but only if it can never be enabled in production.

Key questions to resolve before any decision.

  1. What is the actual problem — template render profiling, auditing which views are used, or debugging template resolution? Each has a maintained native answer.
  2. Is any part of the estate on Symfony ≤ 4.x? If not, the package is categorically inapplicable.
  3. Is the intent to depend on it, or merely to mine it for design ideas (a lightweight view-render collector)?
  4. What are the license terms and the maintainer's last commit/release dates? (Stars alone don't tell you if it's dead; release history does.)
  5. Would a ~1–2 day in-house collector built on Laravel's View::composer/events or Symfony's Twig\Profiler cover 90% of the need?

Integration Approach

Stack fit. Laravel: do not integrate. There is no supported path, and the effort to force it exceeds the effort to build the equivalent. Symfony (legacy): viable only as a require-dev dependency in the dev/test environments, with the bundle registered conditionally in config/bundles.php (or AppKernel for 2.x/3.x) behind an environment check.

Recommended replacement mapping.

  • Laravel view-render profiling → barryvdh/laravel-debugbar (views + timings), laravel/telescope (request/ view events in non-prod), or itsgoingd/clockwork.
  • Laravel "which templates rendered" auditing → a small View::composer('*', ...) listener or a ViewRendered event subscriber writing to a debug channel.
  • Symfony template panel → the built-in Twig profiler / WebProfiler template panel; no third-party bundle needed on 4.4+.

Migration path (if the team is genuinely on legacy Symfony).

  1. Spike in a throwaway branch: install as require-dev, enable only in dev, confirm the profiler panel appears.
  2. Inventory what the panel gives you that the native Twig profiler does not. If the answer is "nothing material," stop.
  3. If it does add value, vendor-fork the collector logic into an internal dev-only bundle so you control compatibility — you are not going to get upstream fixes.
  4. Never promote to require; add a CI guard (composer.json lint or a check that the bundle is not registered in prod) so it cannot leak into production.

Compatibility and sequencing. Pin against the exact Symfony minor version and PHP constraint the bundle declares; expect friction on PHP 8+ and Symfony 5+. Sequence the work after confirming there's no native equivalent, and treat it as a time-boxed spike (≤2 days) rather than a committed integration. If the spike exposes a hard incompatibility — the likely outcome — the deliverable is a documented decision to use native tooling, not a workaround.

Operational Impact

Maintenance. This is the dominant cost. An unmaintained dev dependency becomes a recurring tax: every framework/PHP upgrade forces you to either patch a fork or drop the tool. With a single maintainer and no dependents, expect to own the code the moment you adopt it. Budget for periodic review of the fork against upstream.

Support. No vendor, no SLA, no active issue triage. Internal support burden falls on whichever engineer adopted it. Document the decision and the owner explicitly, or it becomes orphaned tooling that nobody dares remove.

Scaling. Negligible in the runtime sense — the package is dev-only and never executes in production, so it has no bearing on throughput, latency, or horizontal scaling. The scaling concern is organizational: the number of engineers who understand Symfony's profiler internals shrinks over time, and a bespoke dev tool increases onboarding friction for Laravel-native hires.

Failure modes.

  • Framework upgrade breaks the collector (most likely) — profiler panel disappears or throws during request; recoverable but noisy.
  • Accidental production enablement — if registered outside dev, the collector adds per-request memory and overhead and may expose internal template paths in error pages.
  • Dependency conflict — pinning an old bundle can block Symfony/PHP upgrades across the monorepo.
  • Silent abandonment — no upstream security or compatibility patches; the risk surfaces only at the next upgrade cycle.
  • Divergent tooling — teams on Laravel use Debugbar/Telescope, teams on legacy Symfony use this; duplicated mental models and split documentation.

Ramp-up. Low for anyone who has used the Symfony WebProfiler (minutes to interpret the panel). Higher for Laravel-only engineers, who gain no transferable knowledge — they'd be learning a Symfony-specific tool for a capability their own stack already provides. Net onboarding value is negative relative to native alternatives.

TPM recommendation. Do not adopt. The package is architecturally mismatched to Laravel, targets a removed Symfony component, and offers capability already covered by first-party or well-maintained tooling. If the underlying need is real, scope a 1–2 day internal spike against Debugbar/Telescope (Laravel) or the native Twig profiler (Symfony); use this repository as a reference implementation for a view-render collector if useful, not as a dependency.

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.
abbasudo/artisan-route
mirvan/ippanel
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