PHPackages                             rein/profiler - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. rein/profiler

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

rein/profiler
=============

Native PHP profiler

1.2(4y ago)07PHPPHP &gt;=7.4

Since Nov 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/LeamasRein/profiler)[ Packagist](https://packagist.org/packages/rein/profiler)[ RSS](/packages/rein-profiler/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (4)Used By (0)

Native PHP Profiler
===================

[](#native-php-profiler)

To use the profiler, you must define in environment variables `PROFILE_MODE`:

- "OFF" (or empty) - don't run profiler.
- "TIMING" - calculate the running time of the application.
- "TRACE" - full functions tracing.

---

To examine any script, it must contain definition `ticks = 1` or was included via `Profiler::include`. You can declare `ticks = 1` at the beginning of the root script to test it too.

---

Test results can be obtained by calling the profiler and specifying the "onShutdown" method. Example:

`rein\profiler\Profiler::getInstance() ->onShutdown = fn(array $timings) => var_dump($timings);`

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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 ~0 days

Total

3

Last Release

1684d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/rein-profiler/health.svg)

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

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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