awais/cascade-soft-deletes

The Laravel library to apply soft delete on all relations via one soft delete

v1.1.1 2023-11-04 15:16 UTC

This package is not auto-updated.

Last update: 2024-11-16 20:39:12 UTC


README

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.