Skip to content
A package management system for CodeIgniter
PHP Perl
Find file
Latest commit daad308 Nov 30, 2012 @seejohnrun Merge pull request #5 from ajaxboy/master
allow php exe to execute spark commands from any directory
Failed to load latest commit information.
lib/spark
test Quick commit just cleaning up some code in preparation Jan 22, 2012
.gitignore Added a makefile Jan 19, 2012
Makefile Added a makefile Jan 19, 2012
README.md Quick commit just cleaning up some code in preparation Jan 23, 2012
spark Allow php exe to execute spark commands from any directory Nov 28, 2012

README.md

CodeIgniter Spark

Spark is a way to pull down packages automatically

$ tools/spark install -v1.2 gravatar_helper

And then you can load the package like so:

$this->load->spark('gravatar_helper/1.2');
echo Gravatar_helper::from_email('john.crepezzi@gmail.com');

Adding a package

$ tools/spark install -v1.2 gravatar
$ tools/spark install gravatar # most recent version

Removing a package

$ tools/spark remove -v1.2 gravatar  # remove a specific version
$ tools/spark remove gravatar -f  # remove all

Reinstalling a package

$ tools/spark reinstall -v1.2 gravatar  # reinstall a specific version
$ tools/spark reinstall gravatar -f  # remove all versions and install latest

Search for a package

$ tools/spark search gravatar

List installed packages

$ tools/spark list

Get Help

$ tools/spark help

Install

Go to your favorite CI project, and run (must have CURL installed):

$ php -r "$(curl -fsSL http://www.getsparks.org/static/install.php)"
Something went wrong with that request. Please try again.