Download the PHP package bakame/http-structured-fields without Composer
On this page you can find all versions of the php package bakame/http-structured-fields. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bakame/http-structured-fields
More information about bakame/http-structured-fields
Files in bakame/http-structured-fields
Package http-structured-fields
Short Description A PHP library that parses, validates and serializes HTTP structured fields according to RFC9561 and RFC8941
License MIT
Informations about the package http-structured-fields
HTTP Structured Fields for PHP
bakame/http-structured-fields
is a framework-agnostic PHP library that allows you to parse, serialize,
create, update and validate HTTP Structured Fields in PHP according to the RFC9651.
Once installed you will be able to do the following:
System Requirements
PHP >= 8.1 is required but the latest stable version of PHP is recommended.
Installation
Use composer:
Documentation
Full documentation can be found at https://bakame-php.github.io/http-structured-fields
Contributing
Contributions are welcome and will be fully credited. Please see CODE OF CONDUCT for details.
Testing
The library:
- has a PHPUnit test suite
- has a coding style compliance test suite using PHP CS Fixer.
- has a code analysis compliance test suite using PHPStan.
- is compliant with the language agnostic HTTP Structured Fields Test suite.
To run the tests, run the following command from the project folder.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
Attribution
The package internal parser is heavily inspired by previous work done by Gapple on Structured Field Values for PHP.
License
The MIT License (MIT). Please see License File for more information.