PHPackages                             dbstudios/prometheus-client - 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. dbstudios/prometheus-client

ActiveLibrary

dbstudios/prometheus-client
===========================

A client library for Prometheus

3.0.1(5y ago)214.5k↑13.3%1[1 PRs](https://github.com/LartTyler/prometheus-client/pulls)1GPL-3.0PHPPHP &gt;=7.3CI passing

Since Mar 5Pushed 3mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (20)Used By (1)

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

[](#installation)

Run the following command in your project root.

```
$ composer require dbstudios/prometheus-client
```

Getting Started
---------------

[](#getting-started)

There are two components that you'll need to set up in order to start using this library. The first is the `CollectorRegistry`, which acts as a repository for your collectors. There isn't any special configuration to worry about, all you need is an instance you can can access anywhere in your application.

```
