laravel-relationship-events
laravel-relationship-events copied to clipboard
New package to replace this one
I recently needed the functionality of this package but with some adjustments. I decided to fork and the rewrite this package with a different set of functionality since this package no longer seems to be under active development.
The main benefit of this new package is that it allows you to fire a different set of events per relationship or not fire events at all for specific events.
For example lets say you have a User model which hasMany Posts and hasMany Comments. With my package you can fire postsCreating, postsCreated, postsSaving, and postsSaved events and not fire any events on the comments relationship.
The package is still in development so I haven't made any official releases of it but I have tested the existing functionality.
Please check it out here: https://github.com/artificertech/laravel-relationship-events
Also big thanks to @chelout and everyone else who contributed to the existing package. I have made sure to mention you as the original package creator in the README
Thank you @coleshirley for adopting such a useful but now abandoned project! 🙌
@coleshirley, you are welcome, that's open source package, you may use it as you like 🤷♂️