happyr/blaze-bundle
Symfony bundle for integrating the Blaze templating engine. It registers Blaze services, wires template configuration into Symfony, and lets you render lightweight templates from controllers and services with minimal setup.
happyr/blaze, which maps an entity (via annotation/configuration) to a route name and parameters, then calls the router. That is a single class plus a service definition in most codebases. Version 2.0.0 adds Symfony 5 and Twig 3 support, which extends the shelf life of the dependency but does not change the abstraction surface — it is still small enough that an in-house UrlResolver/LinkBuilder service, or a RoutableInterface on your models, delivers the same value with no third-party dependency risk./p/{slug}, not /products/{id}." That decision affects SEO, analytics attribution, and link permanence — worth owning explicitly regardless of whether this package is used. Twig 3 support in 2.0.0 is relevant here only if templates are a primary surface for link generation, which is usually a secondary one.Adopt only if all of the following hold:
Look elsewhere (or build in-house) if any of these apply:
To executives: This is a small, low-cost convenience library for generating links from data objects in Symfony apps. It solves a real but narrow problem, and it is not strategic. The 2.0.0 release adds Symfony 5 and Twig 3 support, which modestly extends its usable life, but it does not change the underlying risk profile: three GitHub stars, zero known dependents, and a long dormancy before this one release. The recommended position is do not adopt; replicate the pattern internally in a few hours of engineering. Cost of building: low. Cost of being stuck on an abandoned dependency at the center of every outbound link in the product: higher than it looks, and it surfaces at the worst time (framework upgrades to Symfony 6/7, security audits).
To engineering: The package is a thin wrapper that maps entities to route names and asks the Symfony router for a URL. Two options: (1) if you already run Symfony 5 and want the annotation ergonomics, vendor or fork it at 2.0.0 and own it explicitly — do not take it as a transitive dependency, and budget for the Symfony 6/7 port yourself; (2) preferred, implement an internal UrlGenerator-backed resolver with a RoutableInterface on your models and a config map for route names. You get locale handling, signed URLs, attribute routing compatibility, and testability for free, and you keep the upgrade path clean. Either way, agree on the URL policy (canonical form, slug strategy, redirect behavior on change) before writing code — that's the part that actually causes incidents. Treat 2.0.0 as evidence the pattern is still viable, not as evidence the dependency is now safe.
How can I help you explore Laravel packages today?