Laravel Slow Queries is a package that allows you to easily log slow queries in your Laravel application. This package logs queries that exceed a configurable time limit and stores them in the database, making it easy to analyze and optimize your database performance.
You can install the package via composer:
composer require libaro/laravel-slow-queries
You can publish and run the migrations with:
php artisan vendor:publish --tag="slow-queries-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="slow-queries-config"
This is the contents of the published config file:
return [
];
You can publish the assets with:
php artisan vendor:publish --tag="slow-queries-assets"
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please see DEVELOPMENT FLOW for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.