diff options
author | Matt Butcher <[email protected]> | 2013-06-18 08:52:09 -0500 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-06-18 08:52:09 -0500 |
commit | 122e0d4cb14845ff1a7a314bc604f6d1903ef492 (patch) | |
tree | 3118764de168e335fe8b6ac54483261bbcb719c4 | |
parent | 618ef6c2c06b503aed92ee1177e2ed9c6d3f3741 (diff) |
Added installation instructions to README.
-rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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. |