Note: This code is currently in development and not recommended for production!

## About
This is basically a list of wrapper classes around internal PHP functions.
Example http://stackoverflow.com/questions/7911535/how-to-unit-test-curl-call-in-php
In the example above, using some PHP internal functions makes testing problematic.
This package is designed to be framework independent.

## Components
### Filters
This is wrapper logic for PHP's filter_input and filter_var functions (which is 
another way of $_POST, $_GET, $_SERVER etc)

#### ENVIRONMENT TYPE
To set the environment type
1) FOR CLI
```sh
sudo gedit /etc/environment
PHP_ENVIRONMENT_TYPE="development"
```

2) FOR HTTP
```sh
sudo gedit /etc/apache2/envvars
export PHP_ENVIRONMENT_TYPE='development'
```

### Http Request
This is a wrapper logic for curl.
Based off http://stackoverflow.com/questions/7911535/how-to-unit-test-curl-call-in-php