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

Mongo Odm Aggregation Bundle Laravel Package

solution/mongo-odm-aggregation-bundle

Symfony bundle that adds a fluent aggregation builder for Doctrine MongoDB ODM, making it easier to construct, run, and reuse complex MongoDB aggregation pipelines in PHP applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Legacy Symfony 2 audit / migration scoping: The most realistic use of this package today is as a signal in a legacy inventory review. If your codebase references it, you have concrete evidence of a Symfony 2-era service that predates native aggregation-builder support in Doctrine MongoDB ODM, and it belongs on a sunset/migration backlog.
  • Build vs. buy vs. already-have (the real decision): Doctrine MongoDB ODM has shipped its own AggregationBuilder for years. The correct PM decision is "neither build nor buy — use the ODM primitives we already depend on." This package is a historical stopgap, not a candidate for net-new adoption.
  • Avoiding roadmap debt: Adding it to a new or actively maintained product would import an unmaintained dependency with zero downstream dependents, no recent releases, and a transitive tie to Symfony 2 (EOL). That is a roadmap liability with no offsetting feature value.
  • Feature feasibility for reporting/analytics: If a feature needs MongoDB aggregation pipelines (funnels, cohort rollups, dashboards), the PM conclusion is that this is a solved problem in the modern ODM and driver layers — it should not appear as a separate line item or risk in the roadmap.
  • Not a differentiator: Twelve stars and zero dependents mean there is no ecosystem, no community support burden to inherit, and no strategic upside. It does not belong in a build/buy comparison at all.

When to Consider This Package

  • Only when maintaining a Symfony 2.x application already using Doctrine MongoDB ODM, where a specific legacy query is bound to this bundle's API and replacing it must be scheduled rather than done ad hoc. Even then, the recommendation is to plan the swap, not to extend usage.
  • When you need a compatibility shim during a migration window and can pin, vendor, and own the code yourself — with an explicit removal ticket.
  • Look elsewhere (strongly) in every other case:
    • New projects, or anything on Symfony 3/4/5/6/7 or Laravel — this is a Symfony 2 bundle; the framework assumption is wrong on two axes.
    • Any project on a supported PHP version, given the last release was April 2016 and has had no maintenance since.
    • Any team expecting security patches, PHP 8 compatibility, or a maintainer to respond to issues — none of that is available.
    • Any case where you simply need aggregation pipelines: use Doctrine\MongoDB\Aggregation\Builder or the raw driver. That is the supported path, and it is what you should be pitching.

How to Pitch It (Stakeholders)

For executives: We evaluated solution/mongo-odm-aggregation-bundle and recommend not adopting it. It is an abandoned Symfony 2 add-on last released in 2016, with negligible community traction (12 stars, no dependent projects). Its function — MongoDB aggregation support — has since been folded into the core Doctrine ODM library we already use. Adopting it would add a dependency we would have to own, patch, and eventually remove, for zero capability we don't already have. Decision: no action on new work; add to the legacy-sunset list if it appears anywhere in our existing code.

For engineering: This bundle existed to bridge a gap that Doctrine MongoDB ODM closed. If you're on Symfony 2 and still importing it, the remediation is to port those specific queries to Aggregation\Builder and drop the dependency. If you're on anything newer, the package is simply inapplicable. Expect no upstream fixes — treat any remaining usage as vendored code we own. I'd like a rough sizing of the port if it shows up in the dependency tree; otherwise there's nothing here worth scheduling.

Positioning line: This is an artifact of a framework generation we've moved past — worth cataloguing, not worth investing in.

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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log