Laravel Soft Cascade

Laravel Soft Cascade

Cascade Delete & Restore when using Laravel SoftDeletes


Description

Cascade Delete & Restore Using Laravel SoftDeletes

Overview

laravel-soft-cascade simplifies soft‑deleting and restoring related models.

Context

If you rely on MySQL’s cascade delete behavior but prefer Laravel’s SoftDeletes, additional configuration is required to maintain proper relationships during deletion or restoration.

Solution

This package replaces those manual steps with a straightforward array that specifies which relations should be cascaded.


Creator

Asked.io

Related Projects

Laravel Artifact

Laravel Artifact

Media Management Package

Mirror

Mirror

Impersonation Package

LaravelPlus Updater

LaravelPlus Updater

Sync Laravel Projects

Laravel Credits

Laravel Credits

Credit Management System

Laravel Glider

Laravel Glider

Glide Image Manipulation in Blade Templates

Laravel Ownable

Laravel Ownable

Eloquent Ownership Relationships