Skip to content

Commit

Permalink
Added installation on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xrexonx committed Nov 8, 2015
1 parent cae6600 commit d5014e0
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

Request sanitizer is a helper class that clean ($_REQUEST, $_GET and $_POST) request data before inserting into the database.

## Installation

add this on your *composer.json* file.
```javascript
{
"require": {
"rexon/request-sanitizer": "~1.0.0"
}
}
```
Run composer update
```sh
$ composer update
```
or you can manually download the zip file [here] on github.
[here]: <https://github.com/xrexonx/Request-Sanitizer>

## Sample Usage


Expand Down Expand Up @@ -31,4 +48,4 @@ $aData = [
User::create($aData);
```

Thanks and enjoy!
Thanks and enjoy!

0 comments on commit d5014e0

Please sign in to comment.