Laravel Soft Cascade

screenshot of Laravel Soft Cascade

Cascade Delete & Restore when using Laravel SoftDeletes

Overview:

The Laravel/Lumen Soft Cascade Delete & Restore package simplifies the process of soft deleting and restoring relationships when using Laravel or Lumen's SoftDeletes feature. It provides an easy solution for ensuring that related data is properly handled during deletion or restoration operations.

Features:

  • Cascade Delete & Restore: Allows for easy cascade deleting and restoring of relations.
  • Compatible with Laravel and Lumen: Works with both Laravel and Lumen frameworks.
  • Auto-Discovery Support: Supports auto-discovery of the service provider in Laravel 5.5 onwards.
  • Nested Relations Support: Enables cascading actions on nested relations.

Summary:

The Laravel/Lumen Soft Cascade Delete & Restore package simplifies the handling of relations during soft deletion and restoration in Laravel and Lumen applications. By defining the relations in a simple array, developers can easily manage cascading actions and ensure data integrity. The package offers support for nested relations and different databases, although additional testing and improvements are encouraged from the community.