chelout/laravel-relationship-events
Adds missing Eloquent relationship events to Laravel models. Use simple traits (HasOne/Many, BelongsTo/Many, Morph*) to listen for attach/detach/sync, saved/updated, and other relation lifecycle hooks with parent/related context and IDs/attributes.
|
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?