withinboredom/response-code 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

withinboredom/response-code

最新稳定版本:v1.0

Composer 安装命令:

composer require withinboredom/response-code

包简介

A simple response code enum library

README 文档

README

This is a simple library for creating http responses in bare bones php.

Installation

composer require withinboredom/response-code

Usage

<?php

require_once 'vendor/autoload.php';

use function Withinboredom\ResponseCode\http_response_code;
use Withinboredom\ResponseCode\HttpResponseCode;

http_response_code(HttpResponseCode::Accepted);

More information

The response codes are based on RFC 9119 which took effect in June 2022.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-29