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

ActiveLibrary

readme/metrics
==============

Track your API metrics within ReadMe.

11.1.0(1y ago)1163.6k↑12.2%6[2 PRs](https://github.com/readmeio/metrics-sdks-php/pulls)ISCPHPPHP ^8.1 | ^8.2 | ^8.3

Since Dec 24Pushed 1y ago15 watchersCompare

[ Source](https://github.com/readmeio/metrics-sdks-php)[ Packagist](https://packagist.org/packages/readme/metrics)[ Docs](https://readme.com/metrics)[ RSS](/packages/readme-metrics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (28)Used By (0)

ReadMe Metrics
==============

[](#readme-metrics)

 [![](https://user-images.githubusercontent.com/33762/182927634-2aebeb46-c215-4ac3-9e98-61f931e33583.png)](https://user-images.githubusercontent.com/33762/182927634-2aebeb46-c215-4ac3-9e98-61f931e33583.png)

 Track usage of your API and troubleshoot issues faster.

 [![Latest release](https://camo.githubusercontent.com/d0f7de6e38f50c905dc7c5fc5e4b79be97ad9f1c5255d7320a9fa9178242e481/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726561646d652f6d6574726963732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/readme/metrics) [![Supported PHP versions](https://camo.githubusercontent.com/d1e78adaabf1386d3531aa3c21744e2e6b6ed18d597e58704705e60f66cb60af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f726561646d652f6d6574726963732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/readme/metrics) [![Build status](https://camo.githubusercontent.com/ef171e6a787a1c3a7dc5b4c04b05609ccfa118b453ff3be12d6c5645db7b6970/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726561646d65696f2f6d6574726963732d73646b732f7068702e796d6c3f6272616e63683d6d61696e267374796c653d666f722d7468652d6261646765)](https://github.com/readmeio/metrics-sdks)

With [ReadMe's Metrics API](https://readme.com/metrics) your team can get deep insights into your API's usage. If you're a developer, it takes a few small steps to send your API logs to [ReadMe](http://readme.com). Here's an overview of how the integration works:

- You add the ReadMe middleware to your [Laravel](https://laravel.com/) application.
- The middleware sends to ReadMe the response object that your Laravel application generates each time a user makes a request to your API. The entire response is sent, unless you allow or deny keys.
- ReadMe populates Metrics with this information, such as which endpoint is being called, response code, and error messages. It also identifies the customer who called your API, using whichever keys in the middleware you call out as containing relevant customer info.

```
composer require readme/metrics

```

**For more information on setup, check out our [integration documentation](https://docs.readme.com/docs/sending-logs-to-readme-with-php-laravel).**

> 🚧 Any Issues?
>
> Integrations can be tricky! [Contact support](https://docs.readme.com/guides/docs/contact-support) if you have any questions/issues.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance43

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 61.8% 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 ~69 days

Recently: every ~166 days

Total

27

Last Release

524d ago

Major Versions

5.0.1 → 6.0.02021-12-03

6.0.0 → 8.0.02021-12-03

7.0.0 → 9.0.02022-03-02

9.0.2 → 10.0.02022-08-15

10.1.1 → 11.0.02023-02-22

PHP version history (7 changes)1.0.0PHP &gt;=7.2

1.1.0PHP ^7.2

5.0.0PHP ^7.3 | ^7.4 | ^8.0

6.0.0PHP ^7.4 | ^8.0

10.0.0PHP ^8.0

11.0.0PHP ^8.0 | ^8.1 | ^8.2

11.1.0PHP ^8.1 | ^8.2 | ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/02dbfe0a1ae522e5e970c2d368ddcc0bafe143a927893bbfa80d129d26c57710?d=identicon)[erunion](/maintainers/erunion)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (63 commits)")[![erunion](https://avatars.githubusercontent.com/u/33762?v=4)](https://github.com/erunion "erunion (29 commits)")[![smoothie](https://avatars.githubusercontent.com/u/16246859?v=4)](https://github.com/smoothie "smoothie (3 commits)")[![AndriiAndreiev](https://avatars.githubusercontent.com/u/129078694?v=4)](https://github.com/AndriiAndreiev "AndriiAndreiev (3 commits)")[![xolf](https://avatars.githubusercontent.com/u/8250052?v=4)](https://github.com/xolf "xolf (1 commits)")[![domharrington](https://avatars.githubusercontent.com/u/848223?v=4)](https://github.com/domharrington "domharrington (1 commits)")[![ilias-t](https://avatars.githubusercontent.com/u/4505008?v=4)](https://github.com/ilias-t "ilias-t (1 commits)")[![kanadgupta](https://avatars.githubusercontent.com/u/8854718?v=4)](https://github.com/kanadgupta "kanadgupta (1 commits)")

---

Tags

api-metricsreadmereadmeapi-metrics

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)

PHPackages © 2026

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