231,182 Installs and Counting! Get Sparks Now!
Hey! Keep up to date with the project through its beta and public launch by following @getsparks.
Tweet
A Quick Looks At Sparks (EllisLab Official Post)
March 11, 2012
from: codeigniter.com
The Top Sparks of 2011
December 31, 2011
from: codefury.net
CodeIgniter Starter Project − A Starting Point for Any CI Dev
December 12, 2011
from: github.com
NetTuts+ Tutorial for GetSparks
November 24, 2011
from: net.tutsplus.com
This is a debug toolbar for codeigniter
| Contributor | : purwandi |
| : Log in to view | |
| Author Website | : http://www.purwandi.me |
| Spark Website | : https://github.com/purwandi/codeigniter-debug-bar |
| Repository Type | : git |
| Number of Installs | : 1,373 |
php tools/spark install -v1.0.7 Debug-Toolbar
Or download this version manually:
Get Debug-Toolbar-1.0.7.zip
Forensics is a high-powered, completely customizable replacement for the CodeIgniter Profiler.
Just enable profiler in your controller
<?php
class Example_controller extends CI_Controller {
public function index()
{
$this->load->spark('Debug-Toolbar/1.x.x');
$this->load->library('console');
$this->output->enable_profiler(true);
Console::log('Hey, this is really cool');
$this->load->view('welcome_message');
}
}
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:
Console::log($data)
This function accepts any data type and simply creates a pretty, readable output of the variable,
using print_r(). Very handy for logging where you are in the script execution, or outputting the contents
of an array, or stdObject to your new 'console'.
Console::log_memory($variable, $name)
The log_memory function has two uses.
1) When no parameters are passed in, it will record the current memory usage of your script.
This is perfect for watching a loop and checking for memory leaks.
2) If you pass in the $variable and $name parameters, will output the amount of memory that variable
is using to the console. In order to use either of these functions, you must be sure
to load the Console library before you use it.
You can change the location of the profiler bar by changing the class of the codeigniter-profiler div (around line 102) of the profiler_template view to one of the following four locations: 'top-right', 'top-left', 'bottom-left', and 'bottom-right'.
Many thanks for lonnieezell :)
php tools/spark install -v1.0.5 Debug-Toolbar
Or download this version manually:
Get Debug-Toolbar-1.0.5.zip
php tools/spark install -v1.0.4 Debug-Toolbar
Or download this version manually:
Get Debug-Toolbar-1.0.4.zip
php tools/spark install -v1.0.2 Debug-Toolbar
Or download this version manually:
Get Debug-Toolbar-1.0.2.zip
php tools/spark install -v1.0.0 Debug-Toolbar
Or download this version manually:
Get Debug-Toolbar-1.0.0.zip