Eloquent N+1 Query on Live Server? Send Notification!

Опубликовано: 11 Октябрь 2024
на канале: Laravel Daily
6,724
337

We can prevent lazy loading from happening, but that feature should be disabled on production servers. So how do we detect it and send a notification? I will show Bugsnag as an example.

More on Eloquent Performance: https://laraveldaily.com/tag/eloquent...
My video "New in Laravel 8.43: Prevent N+1 Queries by Disabling Them"    • New in Laravel 8.43: Prevent N+1 Quer...  

- - - -
Support the channel by checking out my products:
My Laravel courses: https://laraveldaily.com/courses
Laravel QuickAdminPanel: https://quickadminpanel.com
Livewire Kit Components: https://livewirekit.com

- - - -
Other places to follow:
My weekly Laravel newsletter: https://us11.campaign-archive.com/hom...
My personal Twitter:   / povilaskorop