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 1w 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 22% 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

1639d 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

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

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