From cd6b78c054d0d0f27d070d219fdf3f3c485a0bfb Mon Sep 17 00:00:00 2001 From: PJ Dietz Date: Thu, 31 Jan 2013 20:36:37 -0500 Subject: [PATCH] Update README.md --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 469fc05..ddbbf82 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,36 @@ WellRESTed WellRESted provides classes to help you create RESTful APIs and work with HTTP requests and responses. + + +Requirements +------------ + +- PHP 5.3 +- [Composer](http://getcomposer.org/) for autoloading +- [PHP cURL](http://php.net/manual/en/book.curl.php) for making requests + + + +Install +------- + +Include the following to your composer.json file's **require** property. + +```json + "require": { + "pjdietz/wellrested": "dev-master" + } +``` + +Use Composer to download and install WellRESTed. + +```bash +$ curl -s https://getcomposer.org/installer | php +$ php composer.phar install +``` + + Examples -------- @@ -88,4 +118,5 @@ class MyRouter extends \pjdietz\WellRESTed\Router More explamples --------------- -For more examples, see the project [pjdietz/WellRESTed-Samples](https://github.com/pjdietz/WellRESTed-Samples). +For more examples, see the project [pjdietz/wellRrested-samples](https://github.com/pjdietz/wellrested-samples). +