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

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

zaimea/metrics
==============

Metrics is a lightweight Laravel package that allows you to track, increment, and analyze key actions or events on your models.

021[2 PRs](https://github.com/ZaimeaLabs/metrics/pulls)PHPCI passing

Since Mar 30Pushed 1w agoCompare

[ Source](https://github.com/ZaimeaLabs/metrics)[ Packagist](https://packagist.org/packages/zaimea/metrics)[ RSS](/packages/zaimea-metrics/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

[![Metrics](.github/metrics.svg)](.github/metrics.svg)

 [![Build Status](https://github.com/zaimealabs/metrics/actions/workflows/tests.yml/badge.svg)](https://github.com/zaimealabs/metrics/actions) [![Total Downloads](https://camo.githubusercontent.com/141bf24059770460902c3730c2caadf57b4576b707d443010ee7d709e87c38b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a61696d65612f6d657472696373)](https://packagist.org/packages/zaimea/metrics) [![Latest Stable Version](https://camo.githubusercontent.com/dcd8ed196a219f85bad3820c5647fb366a6dce138e6cc556187ab45f47d7ade0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a61696d65612f6d657472696373)](https://packagist.org/packages/zaimea/metrics) [![License](https://camo.githubusercontent.com/23e9a76ed11cc055a3f8c1f7850eb82de3110797f13fc6d8c6e5a28323a61599/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a61696d65612f6d657472696373)](https://packagist.org/packages/zaimea/metrics)

 Hey 👋 thanks for considering making a donation, with these donations I can continue working to contribute to ZaimeaLabs projects. [![Donate](https://camo.githubusercontent.com/6d2c825ebd8feb08a414c231e9c72ec615d31df2f534196e4e2b4fc701da967b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5669615f50617950616c2d626c7565)](https://www.paypal.com/donate/?hosted_button_id=V6YPST5PUAUKS)

Introduction
------------

[](#introduction)

`Metrics` is a lightweight Laravel package that allows you to track, increment, and analyze key actions or events on your models. It supports both configuration-based enums and PHP enums, offers flexible date tracking, and stores metrics in the database for easy reporting and analysis.

Official Documentation
----------------------

[](#official-documentation)

Documentation for Socialite-Extender can be found on the [Zaimea website](https://zaimea.com/docs/metrics).

Contributing
------------

[](#contributing)

Thank you for considering contributing to Socialite-Extender! The contribution guide can be found in the [Zaimea documentation](https://zaimea.com/docs/open-source/contributions).

Code of Conduct
---------------

[](#code-of-conduct)

To ensure that the Zaimea open-source ecosystem remains welcoming and respectful, please review and follow our [Code of Conduct](https://zaimea.com/docs/open-source/contributions#code-of-conduct).

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](https://github.com/zaimealabs/metrics/security/policy) on how to report security vulnerabilities.

Support
-------

[](#support)

For issues or suggestions: [GitHub Issues](https://github.com/zaimealabs/metrics/issues)

License
-------

[](#license)

Metrics is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance64

Regular maintenance activity

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 76.5% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/127675571?v=4)[Custură Laurențiu](/maintainers/Custura)[@custura](https://github.com/custura)

---

Top Contributors

[![custura](https://avatars.githubusercontent.com/u/127675571?v=4)](https://github.com/custura "custura (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M342](/packages/open-telemetry-sdk)

PHPackages © 2026

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