summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Butcher <[email protected]>2013-06-18 08:52:09 -0500
committerMatt Butcher <[email protected]>2013-06-18 08:52:09 -0500
commit122e0d4cb14845ff1a7a314bc604f6d1903ef492 (patch)
tree3118764de168e335fe8b6ac54483261bbcb719c4
parent618ef6c2c06b503aed92ee1177e2ed9c6d3f3741 (diff)
Added installation instructions to README.
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4da81ec..ac2488b 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,26 @@ But after some initial refactoring work, we began a new parser.
[![Build Status](https://travis-ci.org/Masterminds/html5-php.png?branch=master)](https://travis-ci.org/Masterminds/html5-php)
+## Installation
+
+Install HTML5-PHP using [composer](http://getcomposer.org/).
+
+To install, add `masterminds/html5` to your `composer.json` file:
+
+```
+{
+ "require" : {
+ "masterminds/html5": "dev-master"
+ },
+}
+```
+
+(You may substitute `dev-master` for a more stable release tag, of
+course.)
+
+From there, use the `composer install` or `composer update` commands to
+install.
+
## Basic Usage
HTML5-PHP has a high-level API and a low-level API.