Skip to content

Commit 8e3ecd2

Browse files
Merge pull request erikdubbelboer#32 from phansys/composer-install
Install through composer
2 parents 0818403 + 5e274d6 commit 8e3ecd2

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

README.markdown

+3-6
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,17 @@ You can find an example database at
2121
Installing/Configuring
2222
======================
2323

24-
To install phpRedisAdmin in the current directory you need to execute the following commands:
24+
To install phpRedisAdmin through [composer](http://getcomposer.org/) you need to execute the following commands:
2525

2626
```
27-
git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
28-
cd phpRedisAdmin
2927
curl -s http://getcomposer.org/installer | php
30-
php composer.phar install
28+
php composer.phar create-project erik-dubbelboer/php-redis-admin path/to/install
3129
```
3230

3331
You may also want to copy include/config.simple.inc.php to include/config.inc.php
3432
and edit it with your specific redis configuration.
3533

36-
Instead of using [composer](http://getcomposer.org/) you can also do a manual install using:
34+
Instead of using composer, you can also do a manual install using:
3735

3836
```
3937
git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
@@ -57,4 +55,3 @@ Credits
5755
Icons by [http://p.yusukekamiyamane.com/](http://p.yusukekamiyamane.com/) ([https://github.com/yusukekamiyamane/fugue-icons/tree/master/icons-shadowless](https://github.com/yusukekamiyamane/fugue-icons/tree/master/icons-shadowless))
5856

5957
Favicon from [https://github.com/antirez/redis-io/blob/master/public/images/favicon.png](https://github.com/antirez/redis-io/blob/master/public/images/favicon.png)
60-

composer.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
{
2+
"name": "erik-dubbelboer/php-redis-admin",
3+
"description": "Simple web interface to manage Redis databases.",
4+
"license": "CC-BY-ND",
5+
"homepage": "https://github.com/ErikDubbelboer/phpRedisAdmin",
6+
"authors": [
7+
{
8+
"name": "Erik Dubbelboer",
9+
"email": "erik@dubbelboer.com",
10+
"homepage": "http://blog.dubbelboer.com",
11+
"role": "Developer"
12+
}
13+
],
214
"require": {
315
"predis/predis": "0.8.*"
4-
}
16+
},
17+
"target-dir": "ErikDubbelboer/phpRedisAdmin"
518
}

0 commit comments

Comments
 (0)