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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners