PHPackages                             hyqo/measure - 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. hyqo/measure

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

hyqo/measure
============

1.0.0(3y ago)013MITPHPPHP ^8.2

Since Feb 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hyqo/measure)[ Packagist](https://packagist.org/packages/hyqo/measure)[ RSS](/packages/hyqo-measure/feed)WikiDiscussions main Synced 1mo ago

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

Measure
=======

[](#measure)

[![Packagist Version](https://camo.githubusercontent.com/8ab956747331e89dc12ff124b7f821282e381a55c544e07670b82c9613e0c75c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6879716f2f6d6561737572653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/8ab956747331e89dc12ff124b7f821282e381a55c544e07670b82c9613e0c75c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6879716f2f6d6561737572653f7374796c653d666c61742d737175617265)[![Packagist PHP Version Support](https://camo.githubusercontent.com/0cc75ec4699d5e0cbe0bcea516fd829266398f86b6d895154d1905100ce4b331/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6879716f2f6d6561737572653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/0cc75ec4699d5e0cbe0bcea516fd829266398f86b6d895154d1905100ce4b331/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6879716f2f6d6561737572653f7374796c653d666c61742d737175617265)[![GitHub Workflow Status](https://camo.githubusercontent.com/df5c605d4b992a7efac8f6aedfd612d0d7da51a20d8e2b13f567572e25f1b37e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6879716f2f6d6561737572652f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/df5c605d4b992a7efac8f6aedfd612d0d7da51a20d8e2b13f567572e25f1b37e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6879716f2f6d6561737572652f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)

Install
-------

[](#install)

```
composer require hyqo/measure
```

Usage
-----

[](#usage)

```
Measure::start('foo');
Measure::start('bar');
Measure::start('baz');

usleep(100);
echo Measure::stop('foo'); // 100.00 us

usleep(100);
echo Measure::stop('bar'); // 200.00 us

usleep(800);
echo Measure::stop('baz'); // 1.00 ms
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

1180d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4230413a88525a7581fb391836718bcca27b8d1698f97b61de0dd6d816fac41?d=identicon)[akeylimepie](/maintainers/akeylimepie)

---

Top Contributors

[![akeylimepie](https://avatars.githubusercontent.com/u/355106?v=4)](https://github.com/akeylimepie "akeylimepie (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hyqo-measure/health.svg)

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

###  Alternatives

[dueros/bot-sdk

度秘bot开发的PHP SDK

7514.4k1](/packages/dueros-bot-sdk)[devitek/yaml-configuration

Add YAML file support to Laravel Configuration

1614.1k](/packages/devitek-yaml-configuration)[gabrielanhaia/php-circuit-breaker

Circuit breaker pattern for PHP with multiple storage adapters, event system, and manual override.

151.2k1](/packages/gabrielanhaia-php-circuit-breaker)

PHPackages © 2026

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