li3_profiler
li3_profiler
is a Lithium library for profiling requests built on Jim Rubenstein's PHP Profiler., (*1)
Description
The library profiles the primary classes of your application and presents them in a concise report available on each page. Out of the box the library will profile the following:, (*2)
- Routing
- Controller
- Session (_read, write_)
- Authentication (_check, set, clear_)
- Database queries
- View rendering
The injection of the report into the response is handled automatically by the library., (*3)
Installation
Clone the repository from your app/libraries
folder in your application and initialize submodules., (*4)
$ cd app/libraries
$ git clone https://github.com/joebeeson/li3_profiler
$ git submodule init && git submodule update
Add the library to your application's app/config/bootstrap/libraries.php
file., (*5)
Libraries::add('li3_profiler');
Visit your application, you should see something similar to the following image..., (*6)
, (*7)
Configuration
To view the available configuration options you should view the li3_profiler/config/bootstrap.php
file to see everything available to you., (*8)