承接 logiek/http-status-codes 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

logiek/http-status-codes

最新稳定版本:1.4.0

Composer 安装命令:

composer require logiek/http-status-codes

包简介

Constants enumerating the HTTP Status Codes. Based on the HTTP Status Code Registry.

README 文档

README

⚠️ THIS PACKAGE IS NO LONGER MAINTAINED ⚠️
This repository has been discontinued and is no longer receiving updates or support.

http-status-codes

Latest Stable Version Total Downloads License PHP Version Require

Constants enumerating the HTTP Status Codes. Based on the HTTP Status Code Registry.

Installation

You can install the package via Composer:

composer require logiek/http-status-codes

Usage

use Logiek\Http\StatusCode;

StatusCode::HTTP_OK; // 200
StatusCode::get(); // [100 => 'Continue', 101 => 'Switching Protocols', ...]
StatusCode::getReasonPhrase(StatusCode::HTTP_OK); // OK
StatusCode::getStatusCode('Not Found'); // 404

Changelog

Please see the CHANGELOG for more information about recent changes.

Testing

Run the tests with:

composer test

License

This project is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 1.81k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-01