A Lithium library for profiling requests.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
libraries
.gitmodules
LICENSE
README.md
composer.json
webroot

README.md

li3_profiler

li3_profiler is a Lithium library for profiling requests built on Jim Rubenstein's PHP Profiler.

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:

  • 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.

Installation

Clone the repository from your app/libraries folder in your application and initialize submodules.

$ 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.

Libraries::add('li3_profiler');

Visit your application, you should see something similar to the following image...

Example

Configuration

To view the available configuration options you should view the li3_profiler/config/bootstrap.php file to see everything available to you.