Weave Code
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

Mongodb Odm Softdelete Bundle Laravel Package

doctrine/mongodb-odm-softdelete-bundle

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Compliance with Data Retention Policies: Enables soft-deletion for MongoDB-based applications, aligning with GDPR, CCPA, or internal data retention policies without permanent data loss.
  • Cost Efficiency: Avoids expensive database migrations or storage costs associated with hard-deletion by preserving data in a "deleted" state.
  • Feature Roadmap: Supports future-proofing for audit logs, versioning, or recovery features (e.g., "undelete" functionality).
  • Build vs. Buy: Eliminates the need to build custom soft-delete logic for MongoDB ODM, reducing development time and technical debt.
  • Use Cases:
    • User account deactivation (e.g., suspended accounts).
    • Regulatory compliance (e.g., temporary data masking).
    • Sandbox environments where data persistence is critical.

When to Consider This Package

  • Adopt if:

    • Your Symfony2 application uses Doctrine MongoDB ODM and requires soft-deletion.
    • You need audit trails or temporary data removal without permanent deletion.
    • Your team lacks bandwidth to build custom soft-delete logic.
    • You’re not using Symfony 3+ or Doctrine ODM 2.0+ (this bundle is archived and Symfony 2.x-only).
  • Look elsewhere if:

    • You’re using Symfony 3+ or newer (consider Doctrine ODM’s built-in soft-delete or alternatives like stof/doctrine-extensions).
    • Your stack is not Symfony2 + MongoDB ODM (e.g., SQL databases, Laravel, or non-Doctrine ORMs).
    • You need active maintenance (this bundle is archived; evaluate migration risks).
    • Your use case requires hard deletion or advanced recovery features (e.g., time-based retention policies).

How to Pitch It (Stakeholders)

For Executives: "This package lets us comply with data privacy laws (e.g., GDPR) by ‘soft-deleting’ records in MongoDB—keeping data intact but marked as inactive. It’s a low-risk, low-cost way to avoid building custom solutions, saving dev time and reducing storage costs from hard deletions. Ideal for user deactivation or temporary data masking."

For Engineering: "A lightweight Symfony2 bundle that adds soft-delete functionality to Doctrine MongoDB ODM. Works by adding a deletedAt timestamp field to documents, enabling queries to exclude ‘deleted’ records. Pros: No hard deletes, easy to implement. Cons: Archived (Symfony 2.x only), no active updates. Recommend evaluating migration paths if upgrading frameworks."

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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope