stanislav-web/httpstatuses-json

HTTP完整状态码表示

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

This package is not auto-updated.

Last update: 2024-09-14 17:37:31 UTC


README

HTTP完整状态码表示

Latest Stable Version Total Downloads License

系统要求

  • PHP 5.3.x >

安装

首先通过composer更新依赖。在composer.json中添加:

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

或者:

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

(不要忘记包含composer自动加载器)

## Usage

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

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

// will output you full info

##问题