php-http / message
HTTP Message related tools
Installs: 243 539 256
Dependents: 773
Suggesters: 25
Security: 0
Stars: 1 316
Watchers: 11
Forks: 39
Open Issues: 6
pkg:composer/php-http/message
Requires
- php: ^7.2 || ^8.0
- clue/stream-filter: ^1.5
- psr/http-message: ^1.1 || ^2.0
Requires (Dev)
- ext-zlib: *
- ergebnis/composer-normalize: ^2.6
- guzzlehttp/psr7: ^1.0 || ^2.0
- laminas/laminas-diactoros: ^2.0 || ^3.0
- php-http/message-factory: ^1.0.2
- phpspec/phpspec: ^5.1 || ^6.3 || ^7.1
- slim/slim: ^3.0
Suggests
- ext-zlib: Used with compressor/decompressor streams
- guzzlehttp/psr7: Used with Guzzle PSR-7 Factories
- laminas/laminas-diactoros: Used with Diactoros Factories
- slim/slim: Used with Slim Framework PSR-7 implementation
Provides
README
HTTP Message related tools.
Install
Via Composer
composer require php-http/message
Intro
This package contains various PSR-7 tools which might be useful in an HTTP workflow:
- Authentication method implementations
- Various Stream encoding tools
- Message decorators
- Message factory implementations for Guzzle PSR-7 and Diactoros
- Cookie implementation
- Request matchers
Documentation
Please see the official documentation.
Testing
composer test
Credits
Thanks to Cuzzle for inpiration for the CurlCommandFormatter.
License
The MIT License (MIT). Please see License File for more information.