Http Status
This is a PHP library for HTTP status codes, messages and error exception. Within the library, HTTP status codes are available in classes based on the section they belong to. Click this link for more information.
Installation
You can install the package via composer:
composer require saboohy/httpstatus
Example
require 'vendor/autoload.php';
use Saboohy\HttpStatus\Success;
echo Message::get(Success::OK);
License
The MIT License (MIT). Please see License File for more information.