CodeIgniter package management system, Sparks

http://getsparks.org
This commit is contained in:
Ismo Vuorinen
2013-07-11 07:44:42 +03:00
parent c10c9e3131
commit fabd8585ab
19 changed files with 1309 additions and 0 deletions

47
tools/README.md Normal file
View File

@@ -0,0 +1,47 @@
# 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)"