Skip to content

Commit 1fb6304

Browse files
committed
Add composer info
1 parent c3ded16 commit 1fb6304

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.markdown

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,15 @@ Do not forget to declare a variable type $ redis
2323

2424
* Install redis-server
2525
* Install [phpredis extension](https://github.com/nicolasff/phpredis)
26-
* Download [phpredis-phpdoc](https://github.com/ukko/phpredis-phpdoc/tarball/master)
26+
* The simpliest way to install and use redisphp-phpdoc is to use Composer, as there is a package on Packagist. Just add this to your project composer.json file :
27+
28+
{
29+
"require": {
30+
"ukko/redisphp-phpdoc": "*"
31+
},
32+
}
33+
34+
* Or download [phpredis-phpdoc](https://github.com/ukko/phpredis-phpdoc/tarball/master)
2735

2836
### Setup in IDE PhpStorm
2937

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"require":{
1717
"php":">=5.3.0"
1818
},
19-
"version": "2.6.0-dev",
20-
"minimum-stability": "dev",
19+
"version": "2.6.0",
2120
"autoload": {
2221
"psr-0": {
2322
"phpredis-phpdoc": "src/"

0 commit comments

Comments
 (0)