Registry / utility / lukasoppermann-http-status

lukasoppermann-http-status

JSON →
library4.0.0phppackagistunverified

A minimal package for working with HTTP statuses.

composer require lukasoppermann/http-status
INSTALL
IMPORT
SIG · LUKASOPPERMANN-HTT
L
lukasoppermann-http-status
utilityphpv4.0.0
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.

Httpstatus
use Lukasoppermann\Httpstatus\Httpstatus;

Get the reason phrase for an HTTP status code

<?php use Lukasoppermann\Httpstatus\Httpstatus; $status = new Httpstatus(); echo $status->getReasonPhrase(404); // 'Not Found'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
1 hits · last 30 days
Meta
1
Resources
lukasoppermann-http-status — pip install lukasoppermann-http-status · libregistry