-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c725a77
commit a99c195
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected]: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 | ||
|