PHPackages                             anboo/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. anboo/profiler

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

anboo/profiler
==============

Profiler History php applications

120PHP

Since Mar 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/anboo/profiler)[ Packagist](https://packagist.org/packages/anboo/profiler)[ RSS](/packages/anboo-profiler/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

**Usage example**

```
use \Anboo\Profiler\Prof;

Prof::release(date('YmdHis'));
Prof::start('request');
    Prof::start('nested 1');
        Prof::start('Array 2000000');
            $arr = [];
            for ($i = 0; $i < 2000000; $i++) {
                $arr[] = $i;
            }
        Prof::end('Array 2000000');

        Prof::start('Unset array (free memory)');
            unset($arr);
        Prof::end();

        Prof::start('SplFixedArray');
            $splFix = new \SplFixedArray(2000000);
            for ($i = 0; $i < 2000000; $i++) {
                $splFix[$i] = $i;
            }
        Prof::end('SplFixedArray');
    Prof::end();
Prof::end();
Prof::flush();
```

**Custom configuration**

```
$logger = new \Monolog\Logger('app', [new \Monolog\Handler\StreamHandler('./log.txt')]);

$configuration = new \Anboo\Profiler\Configuration();
$configuration->setLogger($logger); //Report about problems
$configuration->setConnection('127.0.0.1', 27889);

Prof::configuration($configuration);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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://www.gravatar.com/avatar/91d996e7c89c19edbb8b2fbd268666459b573ba06c33f94df5e0759ca7ce9452?d=identicon)[Danilatorsu](/maintainers/Danilatorsu)

### Embed Badge

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

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

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

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

PHP Debugbar integration for Laravel

19.1k662.9k28](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[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)

PHPackages © 2026

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