I think you can use http://laravel.com/docs/5.0/eloquent#model-events for this situation.
but this is only about Model event, not relation event.
I suggest you create the model events from creating, created, updating and updated. check which event is fired during the attach()/sync().
@Gwill you're right, there are no such events. Here's something you may use http://stackoverflow.com/questions/28925292/eloquent-attach-de...
Take a look on this package : https://github.com/fico7489/laravel-pivot
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.