This is a Laravel package that detects and reports unoptimized database queries by leveraging the database's EXPLAIN feature. This valuable tool helps developers identify performance bottlenecks, optimize database interactions, and enhance the overall efficiency of their applications. By integrating seamlessly into Laravel projects, this package serves as a crucial resource for maintaining optimal database performance and delivering smooth, responsive user experiences.
This package is heavily inspired by beyondcode/laravel-query-detector.
You can install the package via composer:
composer require samasend/laravel-query-diagnosis --dev
The package will automatically register itself.
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 security@sam.et instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.