Registry / networking / sabre-http

sabre-http

JSON →
library7.0.5phppackagistunverified

Provides utilities for dealing with HTTP requests and responses.

composer require sabre/http
INSTALL
IMPORT
SIG · SABRE-HTTP
S
sabre-http
networkingphpv7.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Sapi
use Sabre\HTTP\Sapi;

Get the current HTTP request using SAPI.

use Sabre\HTTP\Sapi; $request = Sapi::getRequest(); echo $request->getMethod();
Debug
Known issues
breakingVersion 7.0 requires PHP 8.1 or higher.
fix
Upgrade to PHP 8.1+ or use version 6.x for older PHP.
affects: >=7.0.0
Upgrade
Version history
7.0.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
sabre-http — pip install sabre-http · libregistry