kr4y / profiler
Profiler for Laravel 4
Installs: 89
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kr4y/profiler
Requires
- php: >=5.3.0
- illuminate/support: 4.0.x
- illuminate/view: 4.0.x
This package is not auto-updated.
Last update: 2025-10-20 16:07:09 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');