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

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

loic-sharma/profiler
====================

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

v1.1.2(12y ago)174144.1k↓25.9%21[3 issues](https://github.com/loic-sharma/profiler/issues)[1 PRs](https://github.com/loic-sharma/profiler/pulls)2MITPHPPHP &gt;=5.3.0

Since Jan 19Pushed 11y ago12 watchersCompare

[ Source](https://github.com/loic-sharma/profiler)[ Packagist](https://packagist.org/packages/loic-sharma/profiler)[ RSS](/packages/loic-sharma-profiler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (15)Used By (2)

Profiler
========

[](#profiler)

A PHP 5.3 profiler based off of Laravel 3's Anbu. **NOTE**: this project is no longer being maintained. Please use [Barry's debug bar](https://github.com/barryvdh/laravel-debugbar) instead.

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

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 79.3% 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 ~23 days

Total

13

Last Release

4718d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6bec9c7e25bca43e3ad5ea4dc6572f34d1347e3c028c25b3fa808b7ea8504664?d=identicon)[loic-sharma](/maintainers/loic-sharma)

---

Top Contributors

[![loic-sharma](https://avatars.githubusercontent.com/u/737941?v=4)](https://github.com/loic-sharma "loic-sharma (65 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)")[![briankiewel](https://avatars.githubusercontent.com/u/1514568?v=4)](https://github.com/briankiewel "briankiewel (3 commits)")[![radmen](https://avatars.githubusercontent.com/u/1190255?v=4)](https://github.com/radmen "radmen (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)")[![franzliedke](https://avatars.githubusercontent.com/u/249125?v=4)](https://github.com/franzliedke "franzliedke (1 commits)")

---

Tags

laravelprofileranbu

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k124.3M624](/packages/barryvdh-laravel-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/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!

235321.4k](/packages/laracraft-tech-laravel-xhprof)[lsrur/inspector

Laravel Inspector, debugging and profiling tools for Web Artisans

23441.1k](/packages/lsrur-inspector)

PHPackages © 2026

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