setono/php-templates-bundle
Symfony bundle that integrates PHP file templates into the framework's templating system, letting you render plain PHP views alongside Twig. Useful for simple, dependency-light templates and gradual migration from legacy PHP templates.
Consider it only when all of the following hold:
composer.json constraints directly; a 2020 release likely predates Symfony 6/7 and PHP 8.1+).trans/i18n, form themes, the security sandbox, profiler/dump, Twig extensions, or bundle-provided template overrides (EasyAdmin, Sonata, etc.).Look elsewhere when:
php array cache, fragment/HTTP caching, query count, or moving rendering client-side usually wins first.Recommendation: not for production adoption. Approve at most a timeboxed benchmark spike with a documented exit plan.
For executives (one paragraph): We evaluated setono/php-templates-bundle, a Symfony integration for a compiled-PHP templating library. It has negligible adoption (1 star, 0 dependents), a single visible maintainer, and no release in over four years. Adopting it converts a solved, commodity problem — templating — into one we own, with no security advisory stream and an uncertain upgrade path. My recommendation is not to adopt; it remains a candidate only if we first prove template rendering is a top-tier latency contributor. Even then, the expected gain is likely smaller than the maintenance cost.
For engineering (the substance):
dump, i18n/trans parity, form themes, bundle template overrides, the security sandbox, Twig extensions, and the hiring pool's default familiarity.How can I help you explore Laravel packages today?