usmonaliyev/laravel-metrics
最新稳定版本:v1.1.0
Composer 安装命令:
composer require usmonaliyev/laravel-metrics
包简介
README 文档
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.
Communication
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-05