sylius/twig-hooks
Sylius Twig Hooks is a lightweight component from the Sylius Stack initiative that adds a hook-based extension system for Twig templates, making it easier to customize and extend views in a structured, decoupled way.
events or pipes.For Executives: "This package lets us plug in UI changes dynamically—like adding a new banner or layout section—without touching the frontend codebase. Think of it as ‘Lego blocks for templates’: Marketing can tweak promotions, vendors can customize their storefronts, and we avoid costly frontend rebuilds. Low risk (MIT license, lightweight), high ROI for A/B testing or multi-brand setups."
For Engineering: *"Twig Hooks gives us composable templates with minimal overhead. Instead of hacking core Twig files or writing custom extensions, we can:
{{ hook('sidebar') }}) anywhere in templates.How can I help you explore Laravel packages today?