alanpoulain/api-platform-events-bundle
PostWriteEvent for data changes).PostReadEvent for data access).PreValidateEvent for custom rules).PreSerializeEvent for response delays).For Executives: "This package lets us tap into API Platform’s GraphQL operations (queries/mutations) via events—like triggers for our API. For example, we could automatically log every data change or send real-time alerts when critical actions occur, all without touching the core code. It’s a low-risk way to add observability, compliance, or workflow automation. The MIT license and active maintenance make it a safe bet."
For Engineers:
"This bundle exposes Symfony events for API Platform’s GraphQL lifecycle (e.g., PostWriteEvent for mutations, PreReadEvent for queries). Instead of decorating resolvers, we can attach listeners to modify behavior—ideal for cross-cutting concerns like auditing, notifications, or validation. It’s lightweight, leverages Symfony’s event system, and avoids vendor lock-in. Tradeoff: GraphQL-only for now (REST support is in progress via the Stages RFC)."
How can I help you explore Laravel packages today?