karster/http-status-code

2.1.0 2022-06-07 09:12 UTC

This package is auto-updated.

Last update: 2024-05-07 13:54:08 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.