Just install with Composer
composer require erandir/plug-http
Use the library to work with REQUEST values.
Manipulate BODY REQUEST in types as form-data, json and x-www-form-urlencoded
Manipulate RESPONSE with json
Manipulate GET values
Manipulate SERVER values
Manipulate FILES values
Manipulate SESSION values
Manipulate COOKIES values
Manipulate SERVER values
Manipulate ENV values
To run the examples, clone this project, open the terminal and paste the code below:
docker-compose up