blackplatinum / laravel-softdelete-fixer
The Laravel framework soft delete fixer package.
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/blackplatinum/laravel-softdelete-fixer
This package is auto-updated.
Last update: 2025-09-24 08:38:48 UTC
README
Description:
Unfortunately when you join a table using Eloquent
join methods (inner, outer, left etc), it doesn't check soft delete trait used in model and join all rows also deleted_at
columns that ARE NOT null
.
With this package and using it in your models, it will check deleted_at rows.
How To Install:
composer require blackplatinum/laravel-softdelete-fixer
How To Use:
First:
Add this line to your models
Use SoftDeletesFix;
Second:
Add this key to your .env
file with namespace of you model classes
MODEL_NAMESPACE=App