【文件属性】:
文件名称:httpstatuses-json:Http完整状态码表示
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-23 01:11:48
PHP
Http状态和代码json
Http完整状态码表示
系统要求
PHP 5.3.x>
安装
首先通过作曲家更新您的依赖项。 添加到您的composer.json中:
"require" : {
"stanislav-web/httpstatuses-json" : "1.*"
}
php composer . phar install
或者
php composer . phar require stanislav - web / httpstatuses - json 1. *
(不要忘了包括作曲家自动装带器)
## Usage
#### files for translation
```php
<?php
$info = (new \HttpStatuses\HttpStatuses())->getStatus(404); // 1.xx - 5.xx
// w
【文件预览】:
httpstatuses-json-master
----.gitignore(835B)
----data()
--------4.json(27KB)
--------1.json(4KB)
--------5.json(9KB)
--------2.json(11KB)
--------3.json(13KB)
----src()
--------HttpStatuses()
----LICENSE(1KB)
----composer.json(1KB)
----README.md(1KB)