From 122e0d4cb14845ff1a7a314bc604f6d1903ef492 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Tue, 18 Jun 2013 08:52:09 -0500 Subject: Added installation instructions to README. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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. -- cgit v1.2.3