wizbii/mongo-bundle
Symfony bundle for MongoDB and Doctrine ODM that adds repository helpers, query and aggregation builders, pagination, and filtering so PHP applications can model, query, and paginate MongoDB documents with less boilerplate. It streamlines configuration and document mapping.
Sourcing strategy: build vs. buy vs. borrow. This package is a decision input, not a decision. With a score of 0, zero stars, and zero dependents, it sits in the "reference architecture" bucket rather than the "dependency" bucket. The realistic decision it informs is borrow, don't adopt — mine its mapping and connection-management patterns, then either use a maintained ODM or write a thin internal layer.
Persistence-layer architecture for document data. If a roadmap item requires flexible/variable schema storage — activity feeds, audit logs, profile blobs, notification payloads, crawled content, event streams — this bundle represents one option for mapping PHP objects onto MongoDB collections without committing to the full Doctrine ODM surface area. Use it to scope the "lightweight mapper vs. full ODM vs. raw driver" tradeoff.
Feature feasibility and time-to-prototype. For a discovery spike ("can we ship flexible-schema profiles in one sprint?"), a ~small Symfony bundle is cheap to evaluate. It gives you a concrete object-to-document mapping to demo against, which is faster than arguing abstractions in a design doc.
Ecosystem-fit decisions (and the framework question). The -bundle naming and Wizbii's stack point at Symfony, not Laravel. That matters at the roadmap level: if the product is Laravel-based, this isn't a candidate at all, and the decision it does support is "confirm our MongoDB story is mongodb/laravel-mongodb or the raw driver, and stop evaluating Symfony bundles." If the product is Symfony, it's a legitimate but unsupported option.
Decommissioning / legacy-audit decisions. Projects carrying this bundle should be flagged: unmaintained dependencies with no dependents and no visibility are a technical-debt line item. The PM decision here is whether to schedule a migration to a maintained ODM as part of the next platform-health cycle.
Use cases where it is genuinely relevant: internal tooling, admin back-offices, read-heavy denormalized reporting stores, and prototypes where the persistence layer will be rewritten before GA — i.e., anywhere the cost of a rewrite is already budgeted.
Consider it only if all of these hold:
composer.json before anything else).Look elsewhere if any of these are true:
mongodb/laravel-mongodb (the maintained Jenssegers lineage) or mongodb/mongodb directly.Adoption gate (PM-side, before engineering spends a sprint): confirm the license permits your use and redistribution; confirm supported PHP/driver versions; confirm there's a committed owner; timebox to a one-to-two day spike with a written go/no-go. If the spike is inconclusive, the answer is no — the default for an unvalidated dependency should always be no.
For executives. Recommendation: do not adopt as a dependency. This is an open-source MongoDB mapping bundle published by Wizbii's engineering team. It has no community traction — zero stars, zero downstream users — which means no maintainer, no security response, and no upgrade path. The licence is almost certainly permissive, so the cost of looking is near zero, but the total cost of ownership if we build on it is high: we inherit maintenance of a persistence layer, which is the least forgiving place in an application to own bespoke code. The commercially responsible move is to spend 1–2 days reviewing it for design patterns we can reuse, then standardize on a maintained alternative (Doctrine MongoDB ODM on Symfony, mongodb/laravel-mongodb on Laravel). If we're already running it somewhere, that's a platform-health item to schedule — not an emergency, but not something to leave unbounded either.
For engineering. Treat it as reference material, not a dependency. Read it for its connection/config wiring, document-to-object hydration strategy, and repository ergonomics; those are the genuinely reusable ideas, and pulling them into ~200 lines of in-house code costs less than absorbing an unowned package. Hard requirements before any code lands: pin and vendor the source, verify PHP 8.x and current ext-mongodb/driver compatibility, add it to the dependency-review register with an owner and a review date, and wrap it behind our own repository interface so a swap is a one-file change. The interface boundary is the whole point — it converts a risky dependency into a reversible one. If the spike shows the bundle only matches what the maintained ODM already does, close it out and record the finding so we don't re-litigate it next quarter.
How can I help you explore Laravel packages today?