prinx/http-codes

PHP class for HTTP Response Codes

dev-main 2021-03-08 19:29 UTC

This package is auto-updated.

Last update: 2024-11-26 00:08:22 UTC


README

Build Status License

PHP class for HTTP Response Codes

Installation

composer require prinx/http-codes

Usage

// "Import" the class
use Prinx\HttpCode\Code as HTTP;

// Use the code in your code.
echo HTTP::OK; // 200

Contribute

  • Todo:
    • Document undocument codes.
    • Add other relevant unofficial codes.

Credits