Skip to content

Commit 9b85078

Browse files
phansysJavier Spagnoletti
authored andcommitted
Updated README.markdown and composer.json to allow install through composer.
1 parent 0818403 commit 9b85078

File tree

5 files changed

+34
-7
lines changed

5 files changed

+34
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
config.inc.php
22
*.phar
33
vendor
4+
/nbproject/private/

README.markdown

Lines changed: 3 additions & 6 deletions
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

Lines changed: 14 additions & 1 deletion
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": "[email protected]",
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
}

nbproject/project.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
include.path=${php.global.include.path}
2+
php.version=PHP_53
3+
source.encoding=UTF-8
4+
src.dir=.
5+
tags.asp=false
6+
tags.short=true
7+
web.root=.

nbproject/project.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://www.netbeans.org/ns/project/1">
3+
<type>org.netbeans.modules.php.project</type>
4+
<configuration>
5+
<data xmlns="http://www.netbeans.org/ns/php-project/1">
6+
<name>phansysPHPRedisAdmin</name>
7+
</data>
8+
</configuration>
9+
</project>

0 commit comments

Comments
 (0)