goaop/goaop-symfony-bundle
Go! AOP Symfony Bundle brings aspect-oriented programming to Symfony apps, letting you define aspects and advice to intercept service methods. It adds bundle configuration, AOP cache warming, and console tooling for weaving aspects into your code.
Consider it only when all of the following hold:
Look elsewhere when:
EventDispatcher/HttpKernel listeners, Messenger middleware, and Doctrine event listeners. These are first-party, debuggable, static-analysis-friendly, and have no weaving step.To executives: This is a 2018-abandoned integration layer with no downstream users and no security update path. We should not adopt it, and if it is already in the stack, it is a hard blocker on our PHP and Symfony upgrade roadmap. The underlying idea — adding logging, auditing, and caching without editing every service — is legitimate, but we can get 80% of it from Symfony's own decorators and event system at a fraction of the operational risk. Recommendation: do not standardize; budget a migration off it if present.
To engineering: Go! AOP lets you attach behavior to any method call via aspects, and this bundle wires that into Symfony's container. The trade is real: you get cross-cutting concerns with near-zero boilerplate, and you pay in source weaving, generated proxies, harder debugging, weaker static analysis, and a hard dependency on a dead bridge. If we want AOP, we own it — vendor the bundle or build attribute-driven interception on top of a DI compiler pass. If we just want decorators and listeners, we already have them and they cost nothing to hire for. Bring a one-week spike, not a proposal to adopt.
How can I help you explore Laravel packages today?