PHPackages                             anowarcst/prometheus-laravel-health-exporter - 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. [API Development](/categories/api)
4. /
5. anowarcst/prometheus-laravel-health-exporter

ActiveLibrary[API Development](/categories/api)

anowarcst/prometheus-laravel-health-exporter
============================================

A Prometheus Exporter for Laravel API Performance Health Monitoring

v1.0.5(6y ago)125MITPHP

Since Apr 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/AnowarCST/PrometheusLaravelHealthExporter)[ Packagist](https://packagist.org/packages/anowarcst/prometheus-laravel-health-exporter)[ RSS](/packages/anowarcst-prometheus-laravel-health-exporter/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

PrometheusLaravelHealthExporter
===============================

[](#prometheuslaravelhealthexporter)

A very simple Prometheus exporter for Laravel 6.\* and 7.\* supported. Basically a Middleware to export API Health, Status and Performance metrics of Laravel API.

Supported version
-----------------

[](#supported-version)

- Laravel 5.5-5.9, 6.\* and 7.\*
- PHP 5.6 - 7.4

Pre-installed
-------------

[](#pre-installed)

- Redis
- Laravel

Install via Composer
--------------------

[](#install-via-composer)

```
composer require anowarcst/prometheus-laravel-health-exporter

```

#### Vendor publish

[](#vendor-publish)

To publish config file

```
php artisan vendor:publish --provider="AnowarCST\PrometheusLaravelHealthExporter\LaravelRequestMonitoringServiceProvider"

```

if your Redis host is not the default one, please update Redis host, port in your *.env* or *prometheus\_exporter.php*

#### Add this middleware in `App\Http\Kernel.php`

[](#add-this-middleware-in-apphttpkernelphp)

```
protected $middleware = [
    ...
    \AnowarCST\PrometheusLaravelHealthExporter\Middleware\RequestExporter::class,
];

```

#### Preview

[](#preview)

```
php artisan serve

```

Prometheus
----------

[](#prometheus)

Update `prometheus.yml`

```
scrape_configs:
    - job_name: 'laravel'
        static_configs:
        - targets: ['localhost:8000']

```

Restart your Prometheus Server. (Update *localhost:8000* if you are using prometheus in different server)

Grafana
-------

[](#grafana)

[Grafana Dashboard](https://grafana.com/grafana/dashboards)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

6

Last Release

2224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fb3642f7f51e50009db50d2723661a863e774e3d3540e7365ed5e6c7828987f?d=identicon)[anowarcst](/maintainers/anowarcst)

---

Top Contributors

[![AnowarCST](https://avatars.githubusercontent.com/u/6831202?v=4)](https://github.com/AnowarCST "AnowarCST (12 commits)")

---

Tags

apilaravellaravel7php74prometheusprometheus-exporterapilaravelexporterprometheus

### Embed Badge

![Health badge](/badges/anowarcst-prometheus-laravel-health-exporter/health.svg)

```
[![Health](https://phpackages.com/badges/anowarcst-prometheus-laravel-health-exporter/health.svg)](https://phpackages.com/packages/anowarcst-prometheus-laravel-health-exporter)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[d-scribe/laraquick

A collection of classes to be extended/used in laravel applications for quick development

371.8k1](/packages/d-scribe-laraquick)

PHPackages © 2026

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