Download the PHP package rapira/http without Composer
On this page you can find all versions of the php package rapira/http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor rapira
Package http
Short Description PSR-7 server-request factories for every Rapira run mode
License BSD-3-Clause
Homepage https://github.com/rapira-rs/http-php
Package http
Short Description PSR-7 server-request factories for every Rapira run mode
License BSD-3-Clause
Homepage https://github.com/rapira-rs/http-php
Please rate this library. Is it a good library?
Informations about the package http
# rapira/http
[!IMPORTANT]
🪞 This is a read-only mirror.
Active development lives in rapira-rs/sdk-php under
packages/http/. This repository is automatically synchronized from there on every release.File issues and pull requests in the main monorepo, not here.
About
Builds a PSR-7 ServerRequestInterface from the shape Rapira hands your worker, with one factory per run mode:
SapiRequestFactory— hydrates the request from the PHP superglobals ($_SERVER,$_GET,$_POST,$_FILES), the shape Rapira exposes in classic and worker modes.DispatcherRequestFactory— hydrates it from theRapira\Http\Exchangethe host delivers in dispatcher mode, without touching the superglobals.
Both take PSR-17 factories, so you keep your project's own PSR-7 implementation.
Install
Usage
Classic / worker mode — from the SAPI environment:
Dispatcher mode — from the exchange the host delivers:
All versions of http with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
psr/http-factory Version ^1.0
psr/http-message Version ^1.0 || ^2.0
rapira/contract Version dev-master
psr/http-factory Version ^1.0
psr/http-message Version ^1.0 || ^2.0
rapira/contract Version dev-master
The package rapira/http contains the following files
Loading the files please wait ...