The Laravel N+1 query detector helps you to increase your application's performance by reducing the number of queries it executes. This package monitors your queries in real-time, while you develop your application and notify you when you should add eager loading (N+1 queries).
This repository is a fork of beyondcode/laravel-query-detector. Why forked? The fork was created because the original package hadn't been updated to support Laravel 11, leaving users uncertain about its future compatibility. By forking the repository, aim to ensure that this essential package remains up-to-date and compatible with the latest Laravel versions.
This package only compatible with Laravel version 10 and above and there are no plans to support below that. This is to ensure easy maintenance of this package.
You can install the package via composer:
composer require blissjaspis/laravel-query-detector --dev
The package will automatically register itself.
On going...
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.