mpstyle / mrequest-manager
dev-master
2016-04-22 15:24 UTC
Requires
- mtoolkit/mtoolkit-core: dev-master
Requires (Dev)
- phpunit/phpunit: 5.3.*
This package is not auto-updated.
Last update: 2024-11-10 01:37:01 UTC
README
mrequest-manager is a library to read the data coming from a POST request and mapping it in some PHP object.
Install
Add to you composer.json file:
{ "require": { "mpstyle/mrequest-manager": "dev-master" } }
Usages
<?php $requestBook = new RequestBook(); $request = $requestBook->transform( json_encode($_POST['request'], true) ); var_dump($request);