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

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

jaxwilko/profiler
=================

v0.0.6(4y ago)16MITPHP

Since Jun 22Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (7)Used By (0)

jaxwilko/profiler
=================

[](#jaxwilkoprofiler)

This package aids development by allowing you to profile sections of your codebase.

Installation
------------

[](#installation)

```
composer require "jaxwilko/profiler" --dev
```

Usage
-----

[](#usage)

Firstly, you need to [install ext-xdebug](https://xdebug.org/docs/install).

Then add the following to your `php.ini`:

```
[xdebug]
xdebug.mode = develop,gcstats,profile,trace
xdebug.collect_return = 1
xdebug.collect_assignments = 1
xdebug.use_compression = false
```

Once this has been done, you can add the following to your codebase:

```
use JaxWilko\Profiler\Watcher;

Watcher::start();
// execute application logic
Watcher::end(__DIR__ . '/output.html');
```

The filename passed will be used to store the resulting parsed profile. Alternatively you can call `end()`without any params to get the profile as a variable.

```
$profile = Watcher::end();
```

The watcher also supports returning the profile as an array, this can be done as follows:

```
Watcher::setMode(Watcher::OUTPUT_ARR);
$profile = Watcher::end();
```

There are helpers provided to achieve the same functionality:

```
jax_watcher_start();
// execute application logic
jax_watcher_end($outputFile);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Every ~59 days

Recently: every ~73 days

Total

6

Last Release

1541d ago

### Community

Maintainers

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

---

Top Contributors

[![jaxwilko](https://avatars.githubusercontent.com/u/31214002?v=4)](https://github.com/jaxwilko "jaxwilko (16 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/jaxwilko-profiler/health.svg)](https://phpackages.com/packages/jaxwilko-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)
