There's a package that will automatically detect the so-called “N 1 Query Problem“ with Eloquent Eager loading. Package: What is Eager Loading and N 1 Query Problem: #eager-loading Laravel Debugbar: - - - - - Try our Laravel QuickAdminPanel: Enroll in my Laravel courses:
Hide player controls
Hide resume playing