How to use Soft Delete in Laravel 51 min read

Implementation of Soft Delete In Laravel 5 it’s a quite different from previous versions.

Instructions:

Add SoftDeletes method to your your migration files:

In your model use the SoftDelete trait as follow:

Finally, you are now able to delete a model using SoftDelete: