awais/cascade-soft-deletes

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

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/awais/cascade-soft-deletes

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

This package is not auto-updated.

Last update: 2025-10-19 01:05:42 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.