laravel-relationship-events icon indicating copy to clipboard operation
laravel-relationship-events copied to clipboard

New package to replace this one

Open coleshirley opened this issue 4 years ago • 2 comments
trafficstars

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

coleshirley avatar May 26 '21 16:05 coleshirley

Thank you @coleshirley for adopting such a useful but now abandoned project! 🙌

f-liva avatar May 26 '21 17:05 f-liva

@coleshirley, you are welcome, that's open source package, you may use it as you like 🤷‍♂️

chelout avatar May 28 '21 07:05 chelout