Download the PHP package ejetar/accept-header-interpreter without Composer
On this page you can find all versions of the php package ejetar/accept-header-interpreter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ejetar/accept-header-interpreter
More information about ejetar/accept-header-interpreter
Files in ejetar/accept-header-interpreter
Package accept-header-interpreter
Short Description Accept Header toolbox 🧰 to Laravel. Validation and interpretation based on RFC 7231, section 5.3.1 and 5.3.2. Conversion of the list of media types to ordered Laravel Collections (by priority, according to RFC).
License MIT
Homepage https://ejetar.com/projects/accept-header-interpreter
Informations about the package accept-header-interpreter
Accept Header Interpreter
Table of Contents
- About
- Features
- Installation
- Examples
- First Example: Entering valid content
- Second Example: Entering invalid content
- Third Example: Priority
- Fourth Example: Displaying the original content of the Accept Header
- Changelog
- Contributing
- License
About
Accept Header toolbox 🧰 to Laravel. Validation and interpretation based on RFC 7231, section 5.3.1 and 5.3.2. Conversion of the list of media types to ordered Laravel Collections (by priority, according to RFC).
Features
- Validation: Validates if Accept Header content is valid, according to specification;
- Conversion: Converts the list of media types to a Laravel Collection (automatically sorted by priority according to specification);
Installation
composer require ejetar/accept-header-interpreter
Examples
First Example: Entering valid content
Second Example: Entering invalid content
Third Example: Priority
Fourth Example: Displaying the original content of the Accept Header
Changelog
Nothing for now...
Contributing
Contribute to this wonderful project, it will be a pleasure to have you with us. Let's help the free software community. You are invited to incorporate new features, make corrections, report bugs, and any other form of support. Don't forget to star in this repository! 😀
License
This library is a open-source software licensed under the MIT license.
All versions of accept-header-interpreter with dependencies
illuminate/support Version ~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0|~6.0|~7.0