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

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

papajoker/profiler
==================

A PHP 5.3 profiler based off of Laravel 3's Anbu.

v1.1.1(13y ago)0452MITPHPPHP &gt;=5.3.0

Since Jan 19Pushed 13y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (14)Used By (0)

Profiler
========

[](#profiler)

A PHP 5.3 profiler based off of Laravel 3's Anbu.

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

[](#installation)

Installing profiler is simple. First, you'll need to add the package to the `require` attribute of your `composer.json` file.

```
{
    "require": {
        "loic-sharma/profiler": "1.1.*"
    },
}
```

### Installing Using Laravel 4

[](#installing-using-laravel-4)

To enable te profiler in Laravel 4 you will need to register the Service Provider and the Facade.

1. Add `'Profiler\ProfilerServiceProvider',` to the list of service providers in `app/config/app.php`
2. Add `'Profiler' => 'Profiler\Facades\Profiler',` to the list of class aliases in `app/config/app.php`
3. In console run `php artisan config:publish loic-sharma/profiler`

And voila! You can use the profiler.

```
Profiler::startTimer('testLogging');

// The profiler listens to Laravel's logger.
Log::info('Hello World!');
Log::notice('Some event occured.');

Profiler::endTimer('testLogging');
```

### Installing For Your Own Project

[](#installing-for-your-own-project)

Add the following to your code:

```
$logger = new Profiler\Logger\Logger;
$profiler = new Profiler\Profiler($logger);
```

You can now use the profiler to your heart's content.

```
$profiler->startTimer('testLogging');

$logger->debug($object);
$logger->info('Hello World!');
$logger->notice('Some event occurred.');
$logger->warning('Careful: some warning.');
$logger->error('Runtime error.');
$logger->critical('This needs to be fixed now!');
$logger->emergency('The website is down right now.');

$profiler->endTimer('testLogging');

echo $profiler;
```

Copyright and License
---------------------

[](#copyright-and-license)

Profiler was written by Loic Sharma. Profiler is released under the 2-clause BSD License. See the LICENSE file for details.

Copyright 2012 Loic Sharma

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 78.9% 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 ~12 days

Recently: every ~21 days

Total

12

Last Release

4770d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4622935?v=4)[patrick](/maintainers/papajoker)[@papajoker](https://github.com/papajoker)

---

Top Contributors

[![loic-sharma](https://avatars.githubusercontent.com/u/737941?v=4)](https://github.com/loic-sharma "loic-sharma (56 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (6 commits)")[![syphernl](https://avatars.githubusercontent.com/u/639906?v=4)](https://github.com/syphernl "syphernl (3 commits)")[![radmen](https://avatars.githubusercontent.com/u/1190255?v=4)](https://github.com/radmen "radmen (2 commits)")[![briankiewel](https://avatars.githubusercontent.com/u/1514568?v=4)](https://github.com/briankiewel "briankiewel (2 commits)")[![lordcoste](https://avatars.githubusercontent.com/u/34160?v=4)](https://github.com/lordcoste "lordcoste (1 commits)")[![ltsochev-dev](https://avatars.githubusercontent.com/u/180402?v=4)](https://github.com/ltsochev-dev "ltsochev-dev (1 commits)")

---

Tags

laravelprofileranbu

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.3k130.0M722](/packages/barryvdh-laravel-debugbar)[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k26.7M61](/packages/php-debugbar-php-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.2k1.7M56](/packages/fruitcake-laravel-debugbar)[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

382284.2k3](/packages/recca0120-laravel-tracy)[daylerees/anbu

The Anbu profiler for Laravel 4.

3054.9k](/packages/daylerees-anbu)[laracraft-tech/laravel-xhprof

Easy XHProf setup to profile your laravel application!

235344.1k](/packages/laracraft-tech-laravel-xhprof)

PHPackages © 2026

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