samasend/laravel-query-diagnosis

This is a Laravel package that detects and reports unoptimized database queries by leveraging the database's EXPLAIN feature.

v0.1.0 2023-04-12 14:34 UTC

This package is auto-updated.

Last update: 2024-04-14 01:15:28 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

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.

Installation

You can install the package via composer:

composer require samasend/laravel-query-diagnosis --dev

The package will automatically register itself.

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 security@sam.et instead of using the issue tracker.

Credits

License

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