aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-17 17:14:56 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-17 17:14:56 +0200
commit11ef804fa385d2181c39b7ab899beda0831bd0f9 (patch)
tree70b5914a7bbe01b03eed8e9d902ea3b3b0180f0a
parent3627207316e59e2d1712443cf65db036941ec288 (diff)
downloadRouter-11ef804fa385d2181c39b7ab899beda0831bd0f9.zip
Router-11ef804fa385d2181c39b7ab899beda0831bd0f9.tar.gz
Router-11ef804fa385d2181c39b7ab899beda0831bd0f9.tar.bz2
Add the installation section.
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0b8091f..b6683c2 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,23 @@ request.
For now, we have two routers: HTTP (routes understand URI and subdomains) and
CLI (routes understand a full command-line).
+## Installation
+
+With [Composer](http://getcomposer.org/), to include this library into your
+dependencies, you need to require
+[`hoa/router`](https://packagist.org/packages/hoa/router):
+
+```json
+{
+ "require": {
+ "hoa/router": "~2.0"
+ }
+}
+```
+
+Please, read the website to [get more informations about how to
+install](http://hoa-project.net/Source.html).
+
## Quick usage
We propose a quick overview of two usages: in a HTTP context and in a CLI