erykai/request

receives INPUT_POST requests, php://input and query converts and returns in object

Fund package maintenance!
Erykai

v1.3.1 2022-11-17 12:08 UTC

This package is auto-updated.

Last update: 2024-09-17 15:59:33 UTC


README

Maintainer Source Code PHP from Packagist Latest Version Software License Quality Score Total Downloads

Receives INPUT_POST requests, php://input and query converts and returns in object

Installation

Composer:

"erykai/request": "1.2.*"

Terminal

composer require erykai/request

Create file.php

use Erykai\Request\Request;

require "vendor/autoload.php";
//$data = $data['query'] example ?name=tal&order=ASC or NULL
//$request = new Request($data);
$request = new Request();
print_r($request->response());

Contribution

All contributions will be analyzed, if you make more than one change, make the commit one by one.

Support

If you find faults send an email reporting to webav.com.br@gmail.com.

Credits

License

The MIT License (MIT). Please see License for more information.