mandango/mandango-bundle
MandangoBundle integrates the Mandango MongoDB ODM with Symfony, providing bundle configuration, document mapping, repository services, and event integration for PHP applications backed by MongoDB. It streamlines setup and service wiring for Mandango documents within Symfony projects.
Consider it only when:
Look elsewhere when:
mongodb/laravel-mongodb (Eloquent-style); for a document mapper use doctrine/mongodb-odm. Both are maintained, PHP 8 compatible, and have real install bases.ext-mongo extension; modern PHP cannot load it without a driver-layer rewrite. Assume a hard blocker until a spike proves otherwise.To executives: This is a legacy integration shim, not a strategic component — and importantly, it is a Symfony2 bundle, not a Laravel package, so it does not fit our current stack. It has minimal adoption (25 stars, zero dependent packages), targets an end-of-life framework, and sits on top of a MongoDB ODM that is no longer maintained and depends on a PHP extension removed in PHP 7. Recommendation: do not adopt. If MongoDB persistence is the actual requirement, we should standardize on the maintained alternative (mongodb/laravel-mongodb for Eloquent-style work, or Doctrine MongoDB ODM for a document-mapper approach). If it already exists in production, classify it as end-of-life technical debt with a funded, dated migration to the mainstream option — the mainstream path is maintained, PHP 8 compatible, and easy to staff.
To engineering: Treat this as a false positive on stack fit. The bundle ships Symfony DI wiring, YAML config under a mandango key, and Mondator codegen commands — none of which Laravel can consume. Even the underlying mandango/mandango library is blocked by the ext-mongo removal and has no upstream triage. Do not invest beyond a 1–2 day timeboxed spike, and expect that spike to fail at the extension-install step. For any MongoDB work in Laravel, substitute mongodb/laravel-mongodb (near-zero ramp-up given Eloquent fluency) and close the request. If a legacy Symfony2/Mandango system exists, freeze and pin it, export data via the modern driver, and fund a timeboxed exit plan rather than any new integration work. The decision to make now is not "which bridge" but "when do we retire Mandango" — and who owns that date.
How can I help you explore Laravel packages today?