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 Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

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.

When to Consider This Package

Consider it only if all of these hold:

  • You are on Symfony, on a PHP version the bundle actually supports (likely 7.x-era, given its provenance — verify composer.json before anything else).
  • You need modest object-to-document mapping — hydration, typed fields, basic repository/cursor helpers — not advanced ODM features like discriminators, references, or lifecycle events.
  • Your team is willing to fork it and own it. At zero stars and zero dependents, there is no upstream safety net; treat it as vendored source, not a dependency.
  • You have a named owner and a plan for PHP-version upgrades, driver upgrades, and security patches.
  • It buys you something the alternatives don't — a materially smaller footprint, or patterns already familiar to a team that has run it in production.

Look elsewhere if any of these are true:

  • Laravel. Wrong ecosystem. Use mongodb/laravel-mongodb (the maintained Jenssegers lineage) or mongodb/mongodb directly.
  • You need a support contract, CVE response, or a maintainer to escalate to. There isn't one.
  • You're greenfield. Doctrine MongoDB ODM is the default for a reason: documentation, community, and a decade of edge-case fixes.
  • You're on PHP 8.x with modern static analysis and typed properties. Unmaintained bundles of this vintage frequently fail CI gates on deprecations and untyped internals — an invisible tax on every upgrade.
  • Multiple teams will touch the persistence layer. Idiosyncratic, undocumented mapping conventions become onboarding cost that compounds.

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.

How to Pitch It (Stakeholders)

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.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core