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

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

TemplateBundle

Frequently asked questions about Template Bundle
Is mindy/template-bundle a Laravel package?
No. mindy/template-bundle is a Symfony/Mindy bundle registered through a kernel lifecycle, not a Laravel package, and it does not target Illuminate\Contracts\View\Factory or ViewEngine. Laravel's rendering stack is Illuminate\View with view factories, finders, engines, and the Blade compiler, so there is no natural seam for this bundle to drop into. Treat it as third-party Symfony-ecosystem code rather than something you can composer require and use directly.
How do I install mindy/template-bundle in a Laravel application?
There is no straightforward install path. The realistic approach is to vendor the source through a Composer path or VCS repository into an internal package such as acme/laravel-mindy-view, then expose a Laravel ViewEngine implementation and a ServiceProvider around it. Do not attempt to register the bundle class directly, because that leads to framework-internal coupling and an unmaintainable shim.
Can I use Mindy templates with Laravel's Blade view system?
Not directly. Nothing in the bundle implements Laravel's ViewEngine contract, so Mindy template syntax cannot be rendered by Blade or by Laravel's view finder without an adapter. You would need to strip the kernel bootstrapping, confirm the renderer is PSR-4 autoloadable and free of framework globals, then write a Laravel-side engine adapter plus a compile-cache path under storage/framework/views.
What Laravel versions and PHP versions does mindy/template-bundle support?
That is unknown until you inspect the composer constraints. The Mindy ecosystem traces back to the Symfony 2 and 3 era, so pinned Symfony component versions, PHP 8.2 and newer compatibility, and deprecation exposure all need verification against your runtime. Check the package's composer.json for PHP and PSR interface requirements before assuming it will install cleanly today.
How much work is it to integrate mindy/template-bundle into an existing Laravel app?
It is a build project, not an install. The realistic path is to treat the underlying template engine as a library, discard the bundle wrapper, and write a ViewEngine adapter, a service provider, and a compile-cache path. Budget three to five engineering days for a spike that proves rendering and escaping on representative templates before any template migration is scheduled or costed.
Does mindy/template-bundle autoescape output, and is it safe for production?
Autoescaping correctness is the risk that matters most, and it cannot be assumed. An incorrectly wired escaper in a hand-rolled Laravel adapter is a direct XSS vector and it fails silently, so the behavior must be proven by test rather than by reading the source. Write escaping tests against representative templates as part of the integration spike.
Is mindy/template-bundle actively maintained, and does it have tests or CI?
The project shows minimal activity: two stars, zero dependents, and a composite score around 0.01, which indicates effectively no production usage. That points to near-certain single-maintainer ownership with a bus factor of one, no security disclosure process, and no release cadence. Before depending on it, check commit recency, issue-response history, and whether any tagged release or test suite exists.
What are the alternatives to mindy/template-bundle for templating in Laravel?
For a greenfield or standard Laravel codebase, Blade already satisfies the need at a fraction of the risk. If designer-friendly syntax is a hard requirement, use a maintained Twig bridge rather than an unmaintained Mindy bundle. The only plausible niche for this package is a team porting an existing Mindy application to Laravel that must preserve Mindy template syntax during a transitional window.
Should I fork mindy/template-bundle or vendor it into an internal package?
Prefer vendoring the engine rather than registering the bundle. Isolating third-party code behind an interface you control, for example acme/laravel-mindy-view, means it can be replaced later without touching application code. Forking converts an external dependency into an internal owned asset with permanent maintenance obligations, which needs a named owner and an exit plan with a sunset date before the decision is made.
How do I test a Mindy template engine adapter in Laravel?
Run a spike that proves rendering and escaping on representative templates before committing to migration work. Verify PHP version support, Symfony component pins, cache-directory write permissions, and OPcache behavior in your runtime. If the actual goal is moving away from Mindy templates, fund a parallel Blade track from day one and set an explicit sunset date so the bridge does not become the destination.
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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager