phug/event
phug/event provides a lightweight event emitter and dispatcher for the Phug template engine, letting you register listeners and trigger events around parsing, compilation, and rendering. Simple to integrate and framework-agnostic.
phug/event is a lightweight event dispatching component for PHP, designed for the Phug ecosystem but usable in any project needing simple decoupled communication. It lets components register listeners and dispatch named events with payloads, making it easier to extend template compilation and rendering workflows without tight coupling.
How can I help you explore Laravel packages today?