Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiagodp/http
HTTP headers, status codes, charsets, mimes, etc.
https://github.com/thiagodp/http
charset compression enconding header http mime php phputil status
Last synced: 1 day ago
JSON representation
HTTP headers, status codes, charsets, mimes, etc.
- Host: GitHub
- URL: https://github.com/thiagodp/http
- Owner: thiagodp
- License: lgpl-3.0
- Created: 2016-01-07T02:58:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-12T23:58:11.000Z (over 6 years ago)
- Last Synced: 2024-10-06T14:19:02.678Z (about 1 month ago)
- Topics: charset, compression, enconding, header, http, mime, php, phputil, status
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTP
This library provides:
* Common HTTP charsets.
* HTTP response headers, including common non-standard headers.
* HTTP status codes and status texts.
* Common MIME types.
* Common encoding/compression formats.
We recommend you using it with the [PSR-7](http://www.php-fig.org/psr/psr-7/).This project uses [semantic versioning](http://semver.org/). See [our releases](https://github.com/thiagodp/http/releases).
Classes:
* [phputil\Charset](https://github.com/thiagodp/http/blob/master/lib/Charset.php)
* [phputil\Mime](https://github.com/thiagodp/http/blob/master/lib/Mime.php)
* [phputil\Encoding](https://github.com/thiagodp/http/blob/master/lib/Encoding.php)
* [phputil\HttpResponseHeader](https://github.com/thiagodp/http/blob/master/lib/HttpResponseHeader.php)
* [phputil\HttpStatus](https://github.com/thiagodp/http/blob/master/lib/HttpStatus.php)
* [phputil\HttpStatusText](https://github.com/thiagodp/http/blob/master/lib/HttpStatusText.php)### Installation
```command
composer require phputil/http
```