timbre/profiler

This package is abandoned and no longer maintained. No replacement package was suggested.

URL profiler package for Laravel 4.

This package has no released version yet, and little information is available.


README

Timbre Profiler is a URL profiler for Laravel 4.

Installation

composer.json file:

{
    "require": {
        "timbre/profiler": "0.*"
    }
}

config file app/config/app.php

'Timbre\Profiler\ProfilerServiceProvider',
'Profiler' => 'Timbre\Profiler\Facades\Profiler',

Configuration

php artisan migrate --package=timbre/profiler
php artisan config:publish timbre/profiler
php artisan asset:publish timbre/profiler

app/start/global.php

App::before(function($request)
{
    Profiler::start();
});

App::after(function($request, $response)
{
    Profiler::stop();
});

Event::listen('timbre.profiler', 'Timbre\Profiler\Profiler@handle');

app/controllers/BaseController.php

public function __construct()
{
    Event::fire('timbre.profiler', $this);
}

Screenshots

alt text

alt text