Laravel DB Transactions and Observers: Be Careful

If you use database transactions and Eloquent observers on one of the Models, you need to make sure that observers are fired only if the full transaction is successful. Links mentioned in the video: - Log Viewer package: - My video review: Laravel Log Viewer with Search - Laravel Docs: Observers and Database Transactions #observers-and-database-transactions - My course “Eloquent: Expert Level“ - - - - - Support the channel by checking out my products: - My Laravel courses: - Filament examples: - Livewire Kit Components: - - - - - Other places to follow: - My weekly Laravel newsletter: - My personal Twitter:
Back to Top