Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Goaop Symfony Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. fork for cross-cutting concerns. This package is the decision point for whether AOP (logging, auditing, caching, transactions, rate limiting, feature-flag gating, timing metrics) is delivered by intercepting method calls instead of sprinkling boilerplate through domain code. Given its 2018 last release and zero dependents, the honest framing is "buy is off the table — the real choice is fork-and-own versus don't-do-AOP."
  • Architecture roadmap: is AOP a capability we invest in? Adopting this bundle commits the team to source-level weaving, generated proxy classes, and a container-compile step. That is an architectural commitment, not a library choice, and it should be decided at the same altitude as "do we adopt a message bus" or "do we standardize on decorators."
  • Legacy instrumentation without refactoring. The strongest use case: a Symfony 3/4 codebase where you need audit trails, performance timings, or cache behavior on existing services and cannot justify touching hundreds of classes. AOP gets you instrumentation in days rather than a quarter.
  • Tech-debt remediation planning. If the codebase already depends on this bundle, it is a roadmap item by definition — it is unmaintained, will not run on modern Symfony, and blocks PHP/Symfony upgrades. Scope it as a migration project (to decorators, event listeners, or attributes + compiler passes), not a "dependency bump."
  • Spike and prototype scoping. Useful as a throwaway evaluation vehicle to prove whether AOP-shaped solutions fit the team's mental model before investing in a hand-rolled equivalent.
  • Ecosystem-gap signal. The high opportunity score alongside a low overall score says the need exists but nobody is serving it. That argues for a lightweight internal implementation (attributes + DI compiler pass) if the need is real, not for resurrecting this bridge.

When to Consider This Package

Consider it only when all of the following hold:

  • The application is pinned to PHP 7.x and Symfony ≤4, and there is a concrete, funded plan to leave that stack.
  • You have a legacy service layer where cross-cutting behavior must be added without editing business classes.
  • Someone on the team owns the fork — can vendor it, patch it, and carry it through the Symfony upgrade.
  • The scope is time-boxed and internal (a spike, a diagnostic build, a migration bridge), not a new production surface with a multi-year life.

Look elsewhere when:

  • Greenfield or Symfony 5/6/7 work. Use service decorators, tagged services, compiler passes, EventDispatcher/HttpKernel listeners, Messenger middleware, and Doctrine event listeners. These are first-party, debuggable, static-analysis-friendly, and have no weaving step.
  • You need long-term support. No security patch cadence since Feb 2018, no maintainer response surface, zero downstream dependents to absorb breakage. That is a supply-chain risk you cannot price.
  • Observability is the actual goal. Use OpenTelemetry PHP or an APM agent; a weaver is the wrong tool for tracing.
  • The team is not fluent in AOP. The cognitive tax — stack traces through generated proxies, IDE navigation breaks, static analysis gaps, step-debugging friction — is paid by every engineer on every incident, forever.
  • You want the AOP capability but not this bridge. Go! AOP framework itself has moved further than this bundle; manual wiring is possible but is a platform-team-sized commitment. Treat that as "build," and cost it accordingly.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums