PHPackages                             menkaff/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. menkaff/metrics

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

menkaff/metrics
===============

Prometheus metric feature

v0.5(4y ago)9994MITPHPPHP ^7.1.3

Since May 16Pushed 4y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Metric for Prometheus PHP client
================================

[](#metric-for-prometheus-php-client)

Installation
------------

[](#installation)

Install via composer in Laravel or Lumen

```
composer require menkaff/metrics

```

If you have a lumen project just add this line in

> bootsratp/app.php

```
$app->register(PrometheusServiceProvider::class);

```

Finally you can copy prometheus.php file to your laravel\\lumen **config** folder and add these lines to your ***.env***

```
PROMETHEUS_NAMESPACE=
PROMETHEUS_SERVICE=main
PROMETHEUS_METRICS_ROUTE_PATH=main/metrics
PROMETHEUS_REDIS_PREFIX=PROMETHEUS_

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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 ~27 days

Total

5

Last Release

1714d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c650e90111e763887d824f632f978a32716c7ddc9a363b3ade2fc2eb874b217?d=identicon)[menkaff](/maintainers/menkaff)

---

Top Contributors

[![menkaff](https://avatars.githubusercontent.com/u/8413386?v=4)](https://github.com/menkaff "menkaff (31 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[lkaemmerling/laravel-horizon-prometheus-exporter

A small package to gain and export long time information from Laravel &amp; Horizon for Prometheus.

1602.0M](/packages/lkaemmerling-laravel-horizon-prometheus-exporter)[promphp/prometheus_push_gateway_php

Prometheus Push Gateway client for PHP applications.

312.2M6](/packages/promphp-prometheus-push-gateway-php)[arquivei/laravel-prometheus-exporter

A Prometheus exporter for Laravel and Lumen

20807.4k1](/packages/arquivei-laravel-prometheus-exporter)

PHPackages © 2026

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