kr4y / profiler
Profiler for Laravel 4
1.0.2
2013-05-24 14:32 UTC
Requires
- php: >=5.3.0
- illuminate/support: 4.0.x
- illuminate/view: 4.0.x
This package is not auto-updated.
Last update: 2024-11-18 12:05:00 UTC
README
Profiler for Laravel 4
Installation
In composer.json
file:
{ "require-dev": { "kr4y/profiler": "dev-master" }, }
In app/config/app.php
:
'providers' => array( ... 'Kr4Y\Profiler\ProfilerServiceProvider', ... ), 'aliases' => array( ... 'Profiler' => 'Kr4Y\Profiler\Facades\Profiler', ...
If you need to disable profiler (disabled in production
environment by default), publish package config php artisan config:publish kr4y/profiler
and set 'enabled' => false
Profiler snapshot points usage:
Profiler::startPoint('sample snapshot point'); ..... Profiler::endPoint('sample snapshot point');