New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

daylerees/anbu

The Anbu profiler for Laravel 4.
4,878 303

Larablocks Analysis

daylerees/anbu works with Laravel 4 (latest release 1.0.0-alpha1, Sep 13, 2014), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 4, past end of life
  • No release in the last 12 months (last: Sep 13, 2014)
  • 6 downloads a month (needs 10,000)
  • 303 GitHub stars (at least 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last release (pre-release): Sep 13, 2014.
  • No releases in the last 12 months.
  • First released: Sep 12, 2014.
  • Monthly downloads: 6.
  • 12 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require daylerees/anbu:1.0.0-alpha1
Latest Version:1.0.0-alpha1
Laravel:4
License:MIT
Last Updated:Aug 26, 2016
Links: GitHub  ·  Packagist
Maintainer: daylerees

Codeship Status for daylerees/anbu

Github Release Packagist License Packagist Downloads Github Issues Tips

Anbu Profiler for Laravel PHP

Anbu Profiler

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

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

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 & 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?

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!

Alternatives to daylerees/anbu

barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

153,747,295 19,302
fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

7,368,474 19,302
exeque/laravel-monocle

Agent-focused request profiler for Laravel with an MCP server: timing spans, que...

3,533 4
jaydeep/laravel-time-machine

Inspect, profile and visualize every stage of the Laravel request lifecycle — fr...

8,531 77
recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

289,143 376

Version History

Pre-releases (2)
Version Released Laravel License
1.0.0-alpha1 ~4.0 MIT
1.0.0-alpha ~4.0 MIT