From a99c195a41c1f925eb251c35cfb7a17e01a9c8dd Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Wed, 29 Jun 2016 16:10:57 +0200 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 53b2957..5137aff 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,20 @@ public function index() That's what this library offers. It allows you to express "this action requires a page parameter of type int" or "this action has an optional parameter createdAt of type DateTime". +### Examples + +If you'd like to go straight to the code now, you can just play around with the examples. + +0. `cd /tmp` +1. `git clone git@github.com:mpscholten/request-parser.git` +2. `cd request-parser` +3. `composer install` +4. `cd examples` +5. `php -S localhost:8080` +6. Open it: http://localhost:8080/symfony.php?action=hello + +There are also several other php files inside the examples directory. To get your hands dirty, I suggest just modifing the examples a bit. + ### Getting Started Install via composer