stanislav-web/httpstatuses-json

Http full status codes representation

v1.0-stable 2015-07-06 23:02 UTC

This package is not auto-updated.

Last update: 2024-04-27 15:52:56 UTC


README

Http full status codes representation

Latest Stable Version Total Downloads License

System requirements

  • PHP 5.3.x >

Install

First update your dependencies through composer. Add to your composer.json:

"require": {
    "stanislav-web/httpstatuses-json": "1.*"
}
php composer.phar install

OR

php composer.phar require stanislav-web/httpstatuses-json 1.*

(Do not forget to include the composer autoloader)

## Usage

#### files for translation
```php
<?php

$info = (new \HttpStatuses\HttpStatuses())->getStatus(404); // 1.xx - 5.xx

// will output you full info

##Issues