PHPackages                             usmonaliyev/laravel-metrics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. usmonaliyev/laravel-metrics

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

usmonaliyev/laravel-metrics
===========================

v1.1.0(2y ago)23MITPHPPHP ^7.4|^8.1

Since Dec 4Pushed 1y ago2 watchersCompare

[ Source](https://github.com/usmonaliyev99/laravel-metrics)[ Packagist](https://packagist.org/packages/usmonaliyev/laravel-metrics)[ RSS](/packages/usmonaliyev-laravel-metrics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

laravel-metrics
===============

[](#laravel-metrics)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2c8f0794ec8c9df744417516bb0fa30bff4591ef81a7d66f0a835bcef841fcf8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f75736d6f6e616c697965762f6c61726176656c2d6d6574726963732e737667)](https://camo.githubusercontent.com/2c8f0794ec8c9df744417516bb0fa30bff4591ef81a7d66f0a835bcef841fcf8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f75736d6f6e616c697965762f6c61726176656c2d6d6574726963732e737667)[![Total Downloads](https://camo.githubusercontent.com/9b53dd30bce2075c265c039e29860b4e4ea785c6e5c5028fdf01549100853e3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75736d6f6e616c697965762f6c61726176656c2d6d6574726963732e737667)](https://camo.githubusercontent.com/9b53dd30bce2075c265c039e29860b4e4ea785c6e5c5028fdf01549100853e3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75736d6f6e616c697965762f6c61726176656c2d6d6574726963732e737667)[![Packagist License](https://camo.githubusercontent.com/53d01d9c6e762285bf330b42ce523ef6d87f1dfaf61081b0c54d732ebd480694/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f75736d6f6e616c697965762f6c61726176656c2d6d657472696373)](https://camo.githubusercontent.com/53d01d9c6e762285bf330b42ce523ef6d87f1dfaf61081b0c54d732ebd480694/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f75736d6f6e616c697965762f6c61726176656c2d6d657472696373)

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
------------

[](#installation)

You can install the package via Composer:

```
composer require usmonaliyev/laravel-metrics
```

Requirements
------------

[](#requirements)

- [php](https://php.net): `^7.4|^8.1`
- [predis/predis](https://packagist.org/packages/predis/predis): `^2.1`

Configuration
-------------

[](#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
------------

[](#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
-------

[](#license)

The Laravel Metrics package is open-sourced software licensed under the [MIT](https://choosealicense.com/licenses/mit/) license.

Communication
-------------

[](#communication)

[![Gmail account](https://camo.githubusercontent.com/306b9dc9e6af92f3e92f1ac52aea768bcdd33898cc6d133bb6e8228928954af4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476d61696c2d4431343833363f7374796c653d666f722d7468652d6261646765266c6f676f3d676d61696c266c6f676f436f6c6f723d7768697465)](https://mail.google.com/mail/u/0/#inbox?compose=CllgCJTMXlTvXZtwqllWKkrmkrnwMBVGBmbkbbpZvxVRvpGmcSZZprrWfMrCvhsPMRbDZKTbWGq)[![Telegram account](https://camo.githubusercontent.com/92dc221a8ec5fd306f172bc9514595df08efa11704576653ebb71de0913a192f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d2d3243413545303f7374796c653d666f722d7468652d6261646765266c6f676f3d74656c656772616d266c6f676f436f6c6f723d7768697465)](https://t.me/usmonaliyev99)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

2

Last Release

890d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62ad097b3a2c1c7fba629ae280b33a9bcb12caf5dab6846737a7703046c5bad4?d=identicon)[usmonaliyev99](/maintainers/usmonaliyev99)

---

Top Contributors

[![usmonaliyev99](https://avatars.githubusercontent.com/u/63544323?v=4)](https://github.com/usmonaliyev99 "usmonaliyev99 (19 commits)")

### Embed Badge

![Health badge](/badges/usmonaliyev-laravel-metrics/health.svg)

```
[![Health](https://phpackages.com/badges/usmonaliyev-laravel-metrics/health.svg)](https://phpackages.com/packages/usmonaliyev-laravel-metrics)
```

###  Alternatives

[betterde/logger

Elasticsearch logger handler

3230.4k](/packages/betterde-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
