beyondcode/laravel-query-detector

Laravel N+1 Query Detector

PHP

2,060

139 commits

updated Mar 20, 2026

See the code

README

Laravel N+1 Query Detector

Latest Version on Packagist Total Downloads

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).

Example alert

Installation

You can install the package via composer:

composer require beyondcode/laravel-query-detector --dev

The package will automatically register itself.

Documentation

You can find the documentation on our website.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

hacktoberfest

beyondcode/laravel-query-detector

Laravel N+1 Query Detector

PHP

2,060

139 commits

updated Mar 20, 2026

See the code

README

Laravel N+1 Query Detector

Latest Version on Packagist Total Downloads

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).

Example alert

Installation

You can install the package via composer:

composer require beyondcode/laravel-query-detector --dev

The package will automatically register itself.

Documentation

You can find the documentation on our website.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

hacktoberfest

Project health

Overall

3.4/10

Maintained

0/10

Code review

6/10
OpenSSF Scorecard

Significant stargazers

Sebastian Hädrich

82 followers · starred Oct 2023

hms5232

55 followers · starred Jul 2022

Yehuda Katz

27 followers · starred Jul 2018

Vaibhavraj Roham

58 followers · starred Jul 2018