Laravel Transactional Model Events

Transactional Events for Eloquent Models


Mark van Duijker


Add transactional events to your eloquent models. This will automatically detect changes in your models within a transaction and will fire events on commit or rollback. It should mimic the same functionality as transactional callbacks in Ruby on Rails. You want to use this if you want to listen on events fired by models within a transaction and you want to be sure the transaction has completed successfully (or is rolled back).
Visit Site
Related Projects