joebeeson / li3_profiler
li3_profiler is a Lithium library for profiling requests built on Jim Rubenstein's PHP Profiler.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 1
Forks: 0
Open Issues: 1
Type:lithium-library
This package is not auto-updated.
Last update: 2020-01-20 07:12:06 UTC
README
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...
Configuration
To view the available configuration options you should view the li3_profiler/config/bootstrap.php
file to see everything available to you.