codeigniter-profiler

CodeIgniter - Profiler

Powered complete replacement for the CodeIgniter Profiler.

Will convert the static and very limited debug information of the original “profiler” into a powered bar toggeable with very more debuggin information that not inhury your configured view loaded of your projects. Forensics is a high-powered, extended bebugger, completely replacement very customizable for the CodeIgniter Profiler.

FEATURES:

INSTALLING

Comes included with CodeigniterPowered, but for CI 2 or CI3:

Requirements

Manual controlled install

1) Located your Codeigniter proyect and then download the repository at the Applications root directory

wget https://github.com/codeigniterpower/codeigniter-profiler/archive/master.tar.gz -O codeigniter-profiler.tar.gz

2) Extract the contents or place the files into your applications directory root, this must be 4 files inside:

3) Then, just enable the profiler like normal.

$this->output->enable_profiler(true);

Now the output wil be a little flame at the botton right corner on each load request/response, click on it and see the new profiler.

CONFIGURATION

Wil be located at the config/profiler.php file, and heres the documentation:

You can change the location of the profiler bar by changing the $bar_location variable at the top of the profiler_template view to one of the following locations: top-right, top-left, bottom-left, bottom-right, top, bottom.

USAGE

As configuration said, it has 6 sections On each request and response, a new icon will be displayed in the right botton corner, a little flame, just click it and a new debug bar with a lot of info will be displayed.

Sections

Console library

In addition to the normal information that CI’s Profiler provides, you now have two new logging commands at your disposal that work with the Forensics Profiler:

Illuminate Database Queries

In addition to CodeIgniter database queries, Forensics can display any queries run by Illuminate Database models or the Eloqeunt query builder. To enable this feature, change the config setting for eloquent in config/profiler.php. If you’re using Illuminate Database in your project, note that this feature requires Capsule\Manager.

Credits

The default look, and some of the additional functionality, was heavily inspired by ParticleTree’s PHP Quick Profiler.

Original proyect : https://github.com/lonnieezell/codeigniter-forensics