PHPackages                             react-inspector/memory-usage - 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. react-inspector/memory-usage

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

react-inspector/memory-usage
============================

🌀 Measure the Event Loop

2.0.0(1y ago)313.8k1[2 issues](https://github.com/reactphp-inspector/memory-usage/issues)[5 PRs](https://github.com/reactphp-inspector/memory-usage/pulls)MITMakefilePHP ^8.2

Since Mar 23Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/reactphp-inspector/memory-usage)[ Packagist](https://packagist.org/packages/react-inspector/memory-usage)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/react-inspector-memory-usage/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (4)Versions (17)Used By (0)

Measure the memory usage of the current PHP process
===================================================

[](#measure-the-memory-usage-of-the-current-php-process)

[![Continuous Integration](https://github.com/reactphp-inspector/memory-usage/workflows/Continuous%20Integration/badge.svg)](https://github.com/reactphp-inspector/memory-usage/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/d1216afe9ed3bbc8ca0a57ad6b6eb2263b353f4a7a35a6f5ebf25d15350e7599/68747470733a2f2f706f7365722e707567782e6f72672f72656163742d696e73706563746f722f6d656d6f72792d75736167652f762f737461626c652e706e67)](https://packagist.org/packages/react-inspector/memory-usage)[![Total Downloads](https://camo.githubusercontent.com/258dbd0ef4092562c493446a04fd61033eb506577ffa9de0e46e28ace08629d4/68747470733a2f2f706f7365722e707567782e6f72672f72656163742d696e73706563746f722f6d656d6f72792d75736167652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/react-inspector/memory-usage/stats)[![Code Coverage](https://camo.githubusercontent.com/20f8b09da2f5cb48673920bac700e309b02713fa9d773b62887a68bf26ff3502/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72656163747068702d696e73706563746f722f6d656d6f72792d75736167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/reactphp-inspector/memory-usage/?branch=master)[![Type Coverage](https://camo.githubusercontent.com/e81e60a9eb3237198bf1ee7ce01eeacf8240c72040985e3f6f0b2e64870ae2f6/68747470733a2f2f73686570686572642e6465762f6769746875622f72656163747068702d696e73706563746f722f6d656d6f72792d75736167652f636f7665726167652e737667)](https://shepherd.dev/github/reactphp-inspector/memory-usage)[![License](https://camo.githubusercontent.com/37ef9aa3f0310d873b5f87508c1f95b78a2566a72394135c6b03e0e52f573142/68747470733a2f2f706f7365722e707567782e6f72672f72656163742d696e73706563746f722f6d656d6f72792d75736167652f6c6963656e73652e706e67)](https://packagist.org/packages/react-inspector/memory-usage)

### Installation

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require react-inspector/memory-usage

```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

Copyright 2024 [Cees-Jan Kiewiet](http://wyrihaximus.net/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance48

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 59.7% 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 ~823 days

Total

3

Last Release

598d ago

Major Versions

1.1.0 → 2.0.02024-09-24

PHP version history (3 changes)1.0.0PHP ^7.4

1.1.0PHP ^7.4 || ^8.0

2.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (37 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![fritz-gerneth](https://avatars.githubusercontent.com/u/1294731?v=4)](https://github.com/fritz-gerneth "fritz-gerneth (1 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/react-inspector-memory-usage/health.svg)

```
[![Health](https://phpackages.com/badges/react-inspector-memory-usage/health.svg)](https://phpackages.com/packages/react-inspector-memory-usage)
```

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k234.7M20.6k](/packages/friendsofphp-php-cs-fixer)[react/react

ReactPHP: Event-driven, non-blocking I/O with PHP.

9.1k3.6M63](/packages/react-react)[react/stream

Event-driven readable and writable streams for non-blocking I/O in ReactPHP

688126.8M194](/packages/react-stream)[react/child-process

Event-driven library for executing child processes with ReactPHP.

34076.1M136](/packages/react-child-process)[react/zmq

ZeroMQ bindings for React.

2471.7M31](/packages/react-zmq)[carlosbuenosvinos/ddd

Domain-Driven Design PHP helper classes (Application Services, Transactions, Domain Events, etc.

665193.1k4](/packages/carlosbuenosvinos-ddd)

PHPackages © 2026

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