karster / http-status-code
2.1.0
2022-06-07 09:12 UTC
Requires
- php: >=7.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-07 14:56:38 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require karster/http-status-code:"*"
or add
"karster/http-status-code": "*"
to the require section of your composer.json.
Usage
use karster\response\HttpStatusCode;
$message = HttpStatusCode::getMessageFor(HttpStatusCode::HTTP_OK);
Tests
./vendor/bin/phpunit -c phpunit.xml
Contribution
Have an idea? Found a bug? See how to contribute.
License
MIT see LICENSE for the full license text.