doctrine/mongodb-odm-softdelete
Adds soft delete support to Doctrine MongoDB ODM. Mark documents as deleted without removing them, with automatic filtering of deleted records from queries and options to restore or include trashed documents. Integrates cleanly with ODM repositories and event system.
spatie/laravel-soft-deletes for Eloquent).For Executives: "This package lets us implement soft deletes in our MongoDB-driven app without building it from scratch, saving dev time while meeting compliance needs. For example, [Product X] could use this to retain user data for audits but hide it from active views—reducing risk and improving flexibility. The trade-off is minimal maintenance risk (since it’s archived), but we’d need to validate if a fork or alternative fits our stack better."
For Engineering: *"If we’re using Doctrine MongoDB ODM and need soft deletes (e.g., for [use case]), this package cuts dev time by ~[X] hours. Key pros:
How can I help you explore Laravel packages today?