Download the PHP package link1515/http-utils-php5 without Composer
On this page you can find all versions of the php package link1515/http-utils-php5. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download link1515/http-utils-php5
More information about link1515/http-utils-php5
Files in link1515/http-utils-php5
Download link1515/http-utils-php5
More information about link1515/http-utils-php5
Files in link1515/http-utils-php5
Vendor link1515
Package http-utils-php5
Short Description For users working with PHP 5.x environments, this package provides a convenient solution. It provides encapsulated utilities for handling requests and responses.
License MIT
Package http-utils-php5
Short Description For users working with PHP 5.x environments, this package provides a convenient solution. It provides encapsulated utilities for handling requests and responses.
License MIT
Please rate this library. Is it a good library?
Informations about the package http-utils-php5
http-utils-php5
For users working with PHP 5.x environments, this package provides a convenient solution. It provides encapsulated utilities for handling requests and responses.
Feature
- Easy to use
- Compatible with PHP 5.x
- The request body of the PUT and PATCH method can be resolved (including multipart/form-data)
Installation
Usage
Request
Return type | Method |
---|---|
string | getIp() |
string | getHost() |
string | getMethod() |
array | getHeaders(?string $dotNotation = null) |
array|string | getCookies(?string $dotNotation = null) |
array|string | getQueryString(?string $dotNotation = null) |
array|string|null | getBody(?string $dotNotation = null) |
array|null | getFiles(?string $dotNotation = null) |
array | toArray() |
Configure ipHeaderFilterChain
Response
- Response::setHeader(string $name, string $value, bool $replace = true)
- Response::setHeaders(array $headers, bool $replace = true)
- Response::status(int $code)
- Response::redierct(string $url, int $statusCode = 301)
- Response::json(array $data, int $statusCode = 200)
- Response::send(string $data, int $statusCode = 200)
Constant
This package also provides some common constant.
- Link1515\HttpUtilsPhp5\Constant\Status
- Link1515\HttpUtilsPhp5\Constant\Method
- Link1515\HttpUtilsPhp5\Constant\ContentType
All versions of http-utils-php5 with dependencies
PHP Build Version
Package Version
Requires
php Version
>= 5.3
The package link1515/http-utils-php5 contains the following files
Loading the files please wait ....