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

Template Bundle Laravel Package

mindy/template-bundle

Mindy Template Bundle is a Symfony bundle for managing and rendering reusable templates, giving your application a flexible templating layer with simple configuration and integration into the Mindy ecosystem.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Templating architecture: single engine vs. a second engine. This bundle is a concrete data point for the "do we support a non-Blade templating engine?" decision. Its actual home is Symfony/Mindy, not Laravel, so it clarifies that adopting a second engine means owning an integration layer, not just installing a package.
  • Build vs. buy for the view layer. The package is the "buy" option for thin DI-container glue: service registration, configurable template paths, compiled-template caching, hooks for filters/functions. Useful as a reference implementation when scoping our own service-provider plumbing — read it, don't depend on it.
  • Framework portability / lock-in posture. Evaluating it forces the question of whether any part of the product must run on Symfony or MindyPHP. For a Laravel-only product the answer is a fast no, and that "no" is worth recording so it doesn't get re-litigated.
  • Dependency risk policy (supply chain). With 2 stars, 0 dependents, a composite score of 0.01, and no evidence of a changelog, CI, or release cadence, it is a clean test case for whatever maintenance-risk rubric we apply to new Composer dependencies.
  • Legacy migration scoping. The one scenario where it earns a spike: a Mindy application being ported to Laravel that must preserve Mindy template syntax during a transition. That reframes it from "feature dependency" to "temporary bridge with a sunset date."
  • Ecosystem bet on MindyPHP. Recommending it is implicitly a bet that the Mindy ecosystem is alive and maintained. The evidence — Symfony 2/3-era origins, single-maintainer signals, no downstream consumers — does not support that bet.

Evidence caveat to state explicitly in any decision record: this is a low-signal package. The decision it most reliably supports is not adopting it, which is a legitimate and documentable outcome.

When to Consider This Package

Consider it only if:

  • You are building on MindyPHP or Symfony and need a lightweight bundle that registers the Mindy template engine, paths, and compile cache in the container. That is the package's actual design target, and there it is plausibly the path of least resistance.
  • You are porting a legacy Mindy application to Laravel and must keep Mindy template syntax working for a defined transition window — and only as a vendored, pinned, feature-flagged bridge with an owner and an exit date.
  • You want a reading reference for how a PHP framework exposes a template engine to application code. Twenty minutes of source reading, not a composer.json entry.

Look elsewhere — decisively — if:

  • You are on Laravel. This is a Symfony/Mindy bundle, not a Laravel package. No service provider, no config/ publishing, no Blade integration, no implementation of Illuminate\Contracts\View\Factory or ViewEngine. Use Blade; if you genuinely need Twig syntax, use a maintained Twig bridge.
  • You need community support or a maintenance guarantee. Zero dependents means no user base to surface bugs, no Stack Overflow corpus, and no signal that security issues get patched. Treat as unmaintained until proven otherwise.
  • You need documented APIs, semver, or an upgrade path. There is no evidence of a changelog, tagged releases, or test coverage in the supplied material.
  • Templating is load-bearing. The renderer sits on the critical path of every page. Autoescaping correctness in a hand-rolled adapter is a direct XSS vector, and this package gives us no test suite to verify against.
  • You would have to fork to make it work. Forking converts an external dependency into a permanently owned internal asset — a recurring maintenance tax with no upstream to absorb PHP minor bumps, transitive patches, or dependency drift.
  • The time-to-value math is bad. A realistic spike is 3–5 engineering days to prove rendering and escaping before any template migration, plus 1–2 weeks for a mid-level developer to become productive — most of it learning a non-transferable template syntax.

How to Pitch It (Stakeholders)

For executives: This is a small, MIT-licensed Symfony/Mindy bundle that wires a template engine into a service container. It is not a Laravel package and does not fit our stack — there is no service provider, no Blade integration, and no seam where it drops in. The adoption signals are effectively absent: 2 GitHub stars, zero dependent projects, a composite score of 0.01, and no evidence of releases, CI, or security process. Recommendation: do not adopt. The savings are a few hundred lines of container glue we would write anyway; the cost is a permanently owned, unsupported component in the rendering path of every page. Exposure from skipping it: zero. Cost of adopting and later unwinding it: significant.

For engineering: It's DI-container glue for templating, built for the Symfony/Mindy bundle lifecycle. Technically possible to adapt to Laravel, but that's a 3–5 day build project, not an install: strip the kernel bootstrapping, vendor the engine behind our own ViewEngine implementation, add a service provider, and place the compile cache under storage/framework/views. Risks to name up front: bus factor of one, no upstream to absorb PHP or Symfony component drift, unknown PHP 8.2+ compatibility, and autoescaping that we cannot verify by test — an incorrectly wired escaper is a live XSS vector. If the goal is a Mindy→Laravel migration, it is only acceptable as a pinned, feature-flagged bridge with a named internal owner and a sunset date alongside a parallel Blade track. If someone wants to borrow ideas for exposing view resolution to plugins, spend twenty minutes reading the source; do not add it to composer.json.

Bottom line: A useful reference implementation, not a viable dependency. Log the decision and the evidence, move on, and revisit only if we ever ship something on Symfony or MindyPHP.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core