PHPackages                             metrixio/packagist - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. metrixio/packagist

ActiveProject[Utility &amp; Helpers](/categories/utility)

metrixio/packagist
==================

This tool lets you easily gather data about downloads from Packagist. It works with Prometheus and Grafana to collect data.

1.0.0(3y ago)00MITPHPPHP &gt;=8.1

Since Dec 26Pushed 3y ago1 watchersCompare

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

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

Packagist metrics collector
===========================

[](#packagist-metrics-collector)

[![](https://camo.githubusercontent.com/f528992ff2079ff975ae5764c863c94427eaf854b43b6accdd085183ad318041/68747470733a2f2f706f7365722e707567782e6f72672f6d6574726978696f2f7061636b61676973742f726571756972652f706870)](https://packagist.org/packages/metrixio/packagist)[![](https://camo.githubusercontent.com/03b7bdf124ad32c48cc0e1b2a225a74cb37c69374c430ca467ceae3443f6f9a0/68747470733a2f2f706f7365722e707567782e6f72672f6d6574726978696f2f7061636b61676973742f76657273696f6e)](https://packagist.org/packages/metrixio/packagist)[![](https://github.com/metrixio/packagist/actions/workflows/docker-image.yml/badge.svg)](https://github.com/metrixio/packagist/actions)[![](https://camo.githubusercontent.com/d7b645d092100e62e16822024ba01b5e7ec82f7d0c2dcf90ccd0b1c3dafa5f82/68747470733a2f2f706f7365722e707567782e6f72672f6d6574726978696f2f7061636b61676973742f646f776e6c6f616473)](https://packagist.org/packages/metrixio/packagist)

[![packagist](https://user-images.githubusercontent.com/773481/209584409-3275bfa7-f131-44de-b4c1-341d4b0cd3d3.png)](https://user-images.githubusercontent.com/773481/209584409-3275bfa7-f131-44de-b4c1-341d4b0cd3d3.png)

This tool lets you easily gather data about downloads from Packagist.

It works with Prometheus and Grafana to collect data from Packagist, store it in Prometheus, and create visualizations with Grafana. You can use Grafana to customize the data you collect and create dashboards that fit your needs.

We hope you find it helpful!

Dashboard
---------

[](#dashboard)

[![image](https://user-images.githubusercontent.com/773481/209584323-9f673696-f235-4737-b7ea-719da8c3ada3.png)](https://user-images.githubusercontent.com/773481/209584323-9f673696-f235-4737-b7ea-719da8c3ada3.png)

Usage
-----

[](#usage)

Check out the documentation in the [dashboard](https://github.com/metrixio/dashboard) repository. That should give you all the details you need to get going.

```
# Packagist repository names to follow (comma separated)
PACKAGIST_REPOSITORIES=...
```

### Docker

[](#docker)

```
version: "3.7"

services:
    docker-metrics:
        image: ghcr.io/metrixio/packagist:latest
        environment:
            PACKAGIST_REPOSITORIES: ...
        restart: on-failure

    prometheus:
        image: prom/prometheus
        volumes:
            - ./runtime/prometheus:/prometheus
        restart: always

    grafana:
        image: grafana/grafana
        depends_on:
            - prometheus
        ports:
            - 3000:3000
        volumes:
            - ./runtime/grafana:/var/lib/grafana
        restart: always
```

### Local server

[](#local-server)

```
composer create-project metrixio/packagist
```

Define the repositories you want to track in `.env` file

```
PACKAGIST_REPOSITORIES=spiral/framework,...
```

Once the project is installed and configured you can start application server:

```
./rr serve
```

Metrics will be available on .

> **Note**: To fix unable to open metrics page, change metrics address in RoadRunner config file to `127.0.0.1:2112`.

---

The package is built with some of the best tools out there for PHP. It's powered by [Spiral Framework](https://github.com/spiral/framework/), which makes it super fast and efficient, and it uses [RoadRunner](https://github.com/roadrunner-server/roadrunner) as the server, which is a really great tool for collecting metrics data for Prometheus.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

1237d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/773481?v=4)[Pavel Buchnev](/maintainers/butschster)[@butschster](https://github.com/butschster)

---

Top Contributors

[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/metrixio-packagist/health.svg)

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

###  Alternatives

[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)

PHPackages © 2026

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