定制 91carriage/hack-requests 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

91carriage/hack-requests

最新稳定版本:1.1.0

Composer 安装命令:

composer require 91carriage/hack-requests

包简介

Hack wrappers for the request-based super globals

README 文档

README

build status

This package provides Hack wrappers for the $_GET, $_POST, $_REQUEST, $_COOKIE, $_FILES and $_SERVER super globals.

Quick start

A quick start guide is provided in the wiki

Installation

The easiest way to install this package is with Composer.

Manual installation simply involves downloading the provided source code and copying it into your repository.

Detailed installation steps are provided in the wiki.

Usage

Usgae information is provided in the wiki.

Issues

Issues can be submitted to the issue tacker.

If you are unable to create an issue through this, or think that it should not be publicly disclosed, they can also be emailed directly to issues@91carriage.com or brought to my attention on IRC, where I go by the handles simon_w and simon_w|air in the offical #hhvm channel on FreeNode.

Contributing

Contributions are very welcome. Please make sure that you run hh_client in the source directory with assume_php=false in your .hhconfig and no errors are reported.

Code style

For Hack files, the coding style is enforced by the hh_format command, which is included with the Hack tools alongside hh_client.

All Hack files should be in strict mode. When a super global needs to be accessed, use a /* HH_FIXME */ comment to surppress the typechecker's errors.

For other files, the basic requirements are:

  • Lines are no more than 80 characters wherever possible.
  • Indentation is 2 spaces.
  • Unix-style (\n) line endings.

Documentation

Documentation is provided in the wiki.

License

This code is provided under the MIT (X11 variant) license. The full text of which can be found in the LICENSE.md file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-13