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

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

canteen/profiler
================

Profiler for PHP to measure memory usage and performance.

1.0.1(12y ago)1909MITPHPPHP &gt;=5.4.0

Since Oct 12Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Canteen/CanteenProfiler)[ Packagist](https://packagist.org/packages/canteen/profiler)[ Docs](http://github.com/Canteen/CateenProfiler)[ RSS](/packages/canteen-profiler/feed)WikiDiscussions master Synced today

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

\#Canteen Profiler

Canteen Profiler is a useful tool for debugging performance and memory usage of PHP. Also, Profiler has additional options for messuring SQL query performance. [Canteen Profiler docs](http://canteen.github.io/CanteenProfiler/).

\##Installation

Install is available using [Composer](http://getcomposer.org).

```
composer require canteen/profiler dev-master
```

Including using the Composer autoloader in your index.

```
require 'vendor/autoload.php';
```

\##Sample Usage

```
use Canteen\Profiler\Profiler;

// Create the profiler
$profiler = new Profiler();

$profiler->start('Some Task');
// bunch of code here!
$profiler->end('Some Task');

// Render the profiler onto your page
echo $profiler->render();
```

\###Rebuild Documentation

This library is auto-documented using [YUIDoc](http://yui.github.io/yuidoc/). To install YUIDoc, run `sudo npm install yuidocjs`. Also, this requires the project [CanteenTheme](http://github.com/Canteen/CanteenTheme) be checked-out along-side this repository. To rebuild the docs, run the ant task from the command-line.

```
ant docs
```

\##License##

Copyright (c) 2013 [Matt Karl](http://github.com/bigtimebuddy)

Released under the MIT License.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~0 days

Total

2

Last Release

4594d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

profilerperformancememory

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k124.3M623](/packages/barryvdh-laravel-debugbar)[composer/xdebug-handler

Restarts a process without Xdebug.

2.6k397.5M90](/packages/composer-xdebug-handler)[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k21.3M40](/packages/php-debugbar-php-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

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

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

1.8k24.4M1.3k](/packages/tracy-tracy)[fruitcake/laravel-telescope-toolbar

Toolbar for Laravel Telescope based on Symfony Web Profiler

8041.6M3](/packages/fruitcake-laravel-telescope-toolbar)

PHPackages © 2026

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