doctrine/mongodb-odm-softdelete-bundle
Adopt if:
Look elsewhere if:
stof/doctrine-extensions).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."
How can I help you explore Laravel packages today?