27/07
2017
Parse request parameters to object.
This is a simple PHP class which parses request parameters. It handles JSON, bracket array notation, and standard values., (*1)
MIT - MIT License File: LICENSE, (*2)
<?php // Example request: https://example.com/?json={"test": 4} // Parse the 'json' parameter from the request. $req = new Request(array('json')); echo "<pre>req->json: ". print_r($req->json, true) ."</pre>";
composer require somephp/request, (*3)
Resource | Description |
---|---|
Liberal contribution friendly; Create merge request, describe why you want to MR. MR is peer reviewed., (*4)