2017 © Pedro Peláez
 

project request

Parse request parameters to object.

image

somephp/request

Parse request parameters to object.

  • Thursday, July 27, 2017
  • by mrteye
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

This is a simple PHP class which parses request parameters. It handles JSON, bracket array notation, and standard values., (*1)

License

MIT - MIT License File: LICENSE, (*2)

Examples

<?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>";

Installation

Composer

composer require somephp/request, (*3)

Contents

Resource Description

Contributions

Liberal contribution friendly; Create merge request, describe why you want to MR. MR is peer reviewed., (*4)

The Versions

27/07 2017

dev-master

9999999-dev

Parse request parameters to object.

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

by Tyler Gillispie

27/07 2017

v1.0.0

1.0.0.0

Parse request parameters to object.

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

by Tyler Gillispie