-
-
Notifications
You must be signed in to change notification settings - Fork 993
Download
Predis is available on Packagist, the main repository of Composer. You can find more details about Composer and why it matters on this blog post.
((Please provide more details. I could not figure out how to download this from packagist.)) +1 for more details. Name? Version?
Steps to install the composer version :
Step 1) create a file called composer.json in the folder in which you would want to install predis.
Step 2) Add the following to the empty composer.json file you created :
{
"require": {
"predis/predis": "1.1.*@dev"
}
}
Step 3) then run the following command : This assumes, you are able to execute composer by typing composer and it exists as an executable in system path. Else you can follow whatever commands are required.
composer update
We also host Predis on our own PEAR channel making it possible to install the library in a more traditional way for the PHP crowd by using PEAR.
On GitHub you can find each release of Predis as ZIP and TAR.GZ archives downloadable from this page.
If you are interested in the development of the library or you depend on Git for deployment, then you can clone the full repository simply by typing:
$ git clone git://github.com/nrk/predis.gitThe master branch is dedicated to the development of what will be the next major version of Predis (currently v0.8) while stable versions are maintained on their own release branches (e.g. v0.6 and v0.7). Predis also had a backported version to PHP 5.2 until v0.6.6 which is available in the php5.2_backport branch.