libaro / laravel-slow-queries
Laravel Slow QueriesLaravel 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.
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.0
- greenlion/php-sql-parser: ^4.5
- jdorn/sql-formatter: ^1.2
Requires (Dev)
- laravel/pint: ^1.5
- nunomaduro/larastan: ^2.0
- orchestra/testbench: ^v7.5.0
- phpstan/phpstan: ^1.8
This package is auto-updated.
Last update: 2024-12-17 19:27:47 UTC
README
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.
Installation
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"
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Development Flow
Please see DEVELOPMENT FLOW for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.