Download the PHP package asispts/http-accept without Composer
On this page you can find all versions of the php package asispts/http-accept. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asispts/http-accept
More information about asispts/http-accept
Files in asispts/http-accept
Package http-accept
Short Description PHP Parser to deal with HTTP Accept, Accept-Language, Accept-Encoding, and Content-Type headers
License Apache-2.0
Homepage https://github.com/asispts/http-accept
Informations about the package http-accept
http-accept
parser
http-accept
is a PHP parser designed to handle HTTP headers related to content negotiation. These headers include Accept
, Accept-Language
, Accept-Encoding
, and Content-Type
. The library provides parser classes for each of these headers, making it easy to extract the relevant information from incoming HTTP requests.
Installation
You can install this library using composer.
Usage
To parse the different headers, use the corresponding parser class.
Parse Content-Type
Parse HTTP Accept
Parse Accept-Language
Parse Accept-Encoding
Contributing
All forms of contributions are welcome, including bug reports, feature requests, and pull requests. If you plan to make major changes, please open an issue first to discuss what you would like to change.
License
Released under Apache-2.0 License. See LICENSE file for more details.