Skip to content

Commit

Permalink
adding composer file
Browse files Browse the repository at this point in the history
  • Loading branch information
entomb committed May 17, 2013
1 parent 909efb6 commit ff76181
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
This is an extention to the [SLIM framework](https://github.com/codeguy/Slim) to implement json API's with great ease.


##usage
##Usage
To include the middleware and view you just have to load them using the default _Slim_ way.

```php
Expand All @@ -28,8 +28,8 @@ the usage will be `$app->render(HTTP_CODE, array DATA);`

```

to display an error just set the `error=>true` in your data array.
All requests have an `error` var and it default to false
To display an error just set the `error=>true` in your data array.
All requests have an `error` var and it default to false.
The HTTP code will also default to `200`

```php
Expand Down

0 comments on commit ff76181

Please sign in to comment.