PHPackages                             daylerees/anbu - 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. daylerees/anbu

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

daylerees/anbu
==============

The Anbu profiler for Laravel 4.

1.0.0-alpha1(11y ago)3054.9k24[10 issues](https://github.com/daylerees/anbu/issues)[2 PRs](https://github.com/daylerees/anbu/pulls)MITCSS

Since Sep 12Pushed 9y ago16 watchersCompare

[ Source](https://github.com/daylerees/anbu)[ Packagist](https://packagist.org/packages/daylerees/anbu)[ RSS](/packages/daylerees-anbu/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

[ ![Codeship Status for daylerees/anbu](https://camo.githubusercontent.com/420732f2e2892ab4f1f2bf3e3f49d8a448b1b066d20f0be9a701ca51e22c4d4c/68747470733a2f2f7777772e636f6465736869702e696f2f70726f6a656374732f31363537623730302d313638312d303133322d616636342d3561653532383634613463312f7374617475733f6272616e63683d6d6173746572)](https://www.codeship.io/projects/33889)

[![Github Release](https://camo.githubusercontent.com/dfde64705272a89713dbf79d586e921c68409147265ec89c7d594779c9c90dca/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6461796c65726565732f616e62752e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/dfde64705272a89713dbf79d586e921c68409147265ec89c7d594779c9c90dca/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6461796c65726565732f616e62752e7376673f7374796c653d666c61742d737175617265)[![Packagist License](https://camo.githubusercontent.com/7f75afb452f33ec41053aff0b4dd780b2027e01043421bdc3dfe7bbd70ef8e6e/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6461796c65726565732f616e62752e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/7f75afb452f33ec41053aff0b4dd780b2027e01043421bdc3dfe7bbd70ef8e6e/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6461796c65726565732f616e62752e7376673f7374796c653d666c61742d737175617265)[![Packagist Downloads](https://camo.githubusercontent.com/f23a3cbf8b18a1fe140901f7361af824b30bdf65f85e356ae77901d21ba12ceb/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461796c65726565732f616e62752e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/f23a3cbf8b18a1fe140901f7361af824b30bdf65f85e356ae77901d21ba12ceb/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461796c65726565732f616e62752e7376673f7374796c653d666c61742d737175617265)[![Github Issues](https://camo.githubusercontent.com/bd1d939a8d8abed2314f11468f2905d1e3e3d00fb1e5e2c468851526265149a7/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6461796c65726565732f616e62752e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/bd1d939a8d8abed2314f11468f2905d1e3e3d00fb1e5e2c468851526265149a7/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6461796c65726565732f616e62752e7376673f7374796c653d666c61742d737175617265)[![Tips](https://camo.githubusercontent.com/880e72136c8cab83257e464146cfea1798d3f1382cf8fe4f40c655743a875439/687474703a2f2f696d672e736869656c64732e696f2f67726174697061792f6461796c65726565732e7376673f7374796c653d666c61742d737175617265)](https://gratipay.com/daylerees)

Anbu Profiler for Laravel PHP
=============================

[](#anbu-profiler-for-laravel-php)

[![Anbu Profiler](https://raw.githubusercontent.com/daylerees/anbu/master/screenshot.png)](https://raw.githubusercontent.com/daylerees/anbu/master/screenshot.png)

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

[](#installation)

You'll need to add the package to the `require` section of your Laravel app `composer.json` file:

```
"daylerees/anbu": "~1.0@alpha"

```

First ensure that you have a database, and that it is configured with Laravel.

Next add the following service provider to `app/config/app.php`:

```
'Anbu\ProfilerServiceProvider',

```

Next use the `asset:publish` command for Artisan to publish profiler asset files.

```
php artisan asset:publish

```

Finally, execute a page of your application and click on the Laravel icon in the lower left.

Timers
------

[](#timers)

If you want to use Anbu timers, you'll need to include the Facade in the `app/config/app.php` file:

```
'Anbu' => 'Anbu\Facades\Anbu',

```

Now you can create timers like this:

```
Anbu::timers()->start('test');
sleep(30); // Do something interesting here.
Anbu::timers()->end('test', 'Completed doing something.');

```

Debug
-----

[](#debug)

When you use `dd()` you risk exposing information to the users of your application. Instead, use `ad()` to dump this data into the 'Debug' section of Anbu.

```
ad('foo');

```

Hide &amp; Disable
------------------

[](#hide--disable)

First let me explain the two concepts.

To **hide** is to eliminate the Laravel icon button from requests, so that it won't interfere with certain content types.

To **disable** is to stop the profiler from storing the request, and displaying the button. Data for this request will be lost.

You can **hide** the profiler using:

```
Anbu::hide();

```

Or you can apply the `anbu.hide` filter as a `before` filter to any route or route group.

You can **disable** the profiler using:

```
Anbu::disable();

```

Or you can apply the `anbu.disable` filter as a `before` filter to any route or route group.

Problems?
---------

[](#problems)

If a new module is added, then you might get an error when rendering a previous request.

Here's some things you can try if you have any problems. First you can try updating Anbu with:

```
composer update

```

Secondly you can clear the previous requests with the following Artisan command.

```
php artisan anbu:clear

```

Let me know about other issues!

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.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 ~1 days

Total

2

Last Release

4265d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5df33ae838a2ae1bf42eda2f083df8cf63bdc3634b8c728d9acc883e72f62248?d=identicon)[daylerees](/maintainers/daylerees)

---

Top Contributors

[![daylerees](https://avatars.githubusercontent.com/u/207870?v=4)](https://github.com/daylerees "daylerees (36 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (2 commits)")[![maximebeaudoin](https://avatars.githubusercontent.com/u/3246184?v=4)](https://github.com/maximebeaudoin "maximebeaudoin (2 commits)")[![jamescjohns](https://avatars.githubusercontent.com/u/3900828?v=4)](https://github.com/jamescjohns "jamescjohns (1 commits)")[![MarnuLombard](https://avatars.githubusercontent.com/u/2191786?v=4)](https://github.com/MarnuLombard "MarnuLombard (1 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (1 commits)")[![simongiraud](https://avatars.githubusercontent.com/u/50234047?v=4)](https://github.com/simongiraud "simongiraud (1 commits)")[![gabarba](https://avatars.githubusercontent.com/u/3189038?v=4)](https://github.com/gabarba "gabarba (1 commits)")[![garygreen](https://avatars.githubusercontent.com/u/1702638?v=4)](https://github.com/garygreen "garygreen (1 commits)")

---

Tags

laraveldebugprofileranbu

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/daylerees-anbu/health.svg)

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

###  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)[fruitcake/laravel-telescope-toolbar

Toolbar for Laravel Telescope based on Symfony Web Profiler

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

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/packages/recca0120-laravel-tracy)[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)
