Skip to content

awaisejaz/soft-delete-cascade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soft-delete-cascade

Apply soft delete cascade

Installation

This project using composer.

$ composer require awais/cascade-soft-deletes

Usage

add all tables names in SoftDeletables helper and run migration. use trait CascadeSoftDeletes in parent model and add all relationships.