beyondcode / laravel-query-detector
Laravel N+1 Query Detector
Installs: 5 059 931
Dependents: 14
Suggesters: 2
Security: 0
Stars: 1 997
Watchers: 23
Forks: 138
Open Issues: 3
Requires
- php: ^7.1 || ^8.0
- illuminate/support: ^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0|^10.0 || ^11.0
Requires (Dev)
- laravel/legacy-factories: ^1.0
- orchestra/testbench: ^3.0 || ^4.0 || ^5.0 || ^6.0|^8.0 || ^9.0
- phpunit/phpunit: ^7.0 || ^8.0 || ^9.0 || ^10.5
README
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).
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.