chelout/laravel-relationship-events
Adds the missing relationship events to Laravel Eloquent models. Traits for hasOne, belongsTo, hasMany, belongsToMany, morphOne, morphTo, morphMany, morphToMany, and morphedByMany let you listen for saved, updated, attached, detached, and other events, useful for cache invalidation and audit logs.
|
Package
|
Constraint
|
|---|---|
| illuminate/container | ^13.0 |
| illuminate/database | ^13.0 |
| illuminate/events | ^13.0 |
| illuminate/support | ^13.0 |
|
Package
|
Constraint
|
|---|---|
| friendsofphp/php-cs-fixer | ^3.14 |
| orchestra/testbench | ^11.0 |
| phpunit/phpunit | ^10.5.35|^11.5.3|^12.0.1 |
How can I help you explore Laravel packages today?