| Package Data | |
|---|---|
| Maintainer Username: | kr4Y |
| Maintainer Contact: | kr4y.php@gmail.com (kr4Y) |
| Package Create Date: | 2013-04-23 |
| Package Last Update: | 2014-03-03 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-02 15:02:34 |
| Package Statistics | |
|---|---|
| Total Downloads: | 89 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Profiler for Laravel 4
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');