usmonaliyev / laravel-metrics
v1.1.0
2023-12-11 11:28 UTC
Requires
- php: ^7.4|^8.1
- predis/predis: ^2.1
README
This composer package that provides a simple and efficient way to measure and analyze the execution time and speed of database queries in your Laravel application.
It works seamlessly with Redis as the underlying database to store and retrieve query metrics.
Installation
You can install the package via Composer:
composer require usmonaliyev/laravel-metrics
Requirements
- php:
^7.4|^8.1
- predis/predis:
^2.1
Configuration
After installing the package, you'll need to publish the configuration file.
php artisan vendor:publish --provider="Usmonaliyev\LaravelMetrics\LaravelMetricServiceProvider" --tag="config"
This will create a metric.php
file in your config directory.
Open this file and customize the configuration options as needed.
Contributing
If you discover any issues or want to contribute, feel free to create an issue or submit a pull request. Your contributions are always welcome!
License
The Laravel Metrics package is open-sourced software licensed under the MIT license.