stanislav-web / httpstatuses-json
HTTP完整状态码表示
v1.0-stable
2015-07-06 23:02 UTC
Requires
- php: >=5.3.0
Suggests
- stanislav-web/phalcon-searcher: Phalcon Database Searcher. This is the search service is designed to search multiple SQL tables. Convenient to use autocomplete, search documents, search the whole site.
- stanislav-web/phalcon-ulogin: Phalcon ULogin. The authorization form uLogin through social networks
- stanislav-web/phalcon-uploader: Phalcon files uploader. Handling and downloading files for Phalcon projects. Allowed multiple files download, filters etc...
This package is not auto-updated.
Last update: 2024-09-14 17:37:31 UTC
README
HTTP完整状态码表示
系统要求
- 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
##问题