mvanduijker/laravel-transactional-model-events
DB::transaction() wrappers or queue listeners). MIT license + active maintenance (2026 updates) lowers risk.afterRollback.created) for error handling.Adopt When:
Look Elsewhere If:
DB::transaction() + manual event dispatching.For Executives: "This package lets us automatically trigger actions only after database transactions succeed—like sending a confirmation email only if a user’s payment updates without errors. It’s a drop-in solution that replaces error-prone custom code with reliable, transaction-safe eventing. Used by teams needing audit trails, notifications, or syncs tied to data integrity. Low risk (MIT license, active updates), high reward for reducing bugs in critical workflows."
For Engineering:
*"Replace manual DB::transaction() + event listeners with one trait (TransactionalAwareEvents). Now:
afterCommit.created fires only if the transaction commits (no more phantom events).afterRollback.saved lets you handle failures gracefully (e.g., log errors, retry logic).How can I help you explore Laravel packages today?