We've released a new package called https://github.com/spatie/laravel-deleted-models. When deleting a model, this package will copy over its attributes to a table called deleted_models.

Installing the package is just a simple composer install away.

Definitely purging data from all tables that have soft deleted records involves monitoring and performing delete queries for all those tables.

Our https://github.com/spatie/laravel-deleted-models package makes it easy to copy all deleted records to one table.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners