painless-php / http-message
PSR-7 Compliant HTTP classes.
dev-master
2025-06-17 14:27 UTC
Requires
- php: >=8.3
- jakeasmith/http_build_url: ^1.0
- myclabs/deep-copy: ^1.13
- psr/http-message: ^2.0
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpstan/phpstan-deprecation-rules: ^2.0
- phpunit/phpunit: ^12.2
- spatie/phpunit-watcher: ^1.24
- symfony/var-dumper: ^7.3
This package is auto-updated.
Last update: 2025-06-17 14:27:45 UTC
README
Http messaging related functionality, implementing psr-7.
Installation
composer require painless-php/http-message
Public API
Psr-7 compatbile classes
- Message - implements MessageInterface
- Request - implements RequestInterface
- Response - implements ResponseInterface
- Body - implements StreamInterface
- Uri - implements UriInterface
Related http messaging classes
- BasicAuthorizationHeader
- Header
- HeaderCollection
- Query
- Status
- Method
Exceptions
- StringParsingException - thrown when parsing of http related content fails