定制 monolyth/plumber 二次开发

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

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

monolyth/plumber

最新稳定版本:1.1.0

Composer 安装命令:

composer require monolyth/plumber

包简介

Utilities for the Monolyth unframework

README 文档

README

Utilities for the Monolyth unframework

Installation

Composer (recommended)

$ composer require monolyth/plumber

Manual

  1. Download or clone the repository;
  2. Add /path/to/plumber/src for namespace Monolyth\Plumber to your PSR-4 autoloader.

Usage

Currently only 2 utilities are included: Utf8 and Proxy. Statically call the handle method on the classes to utilise them.

Utf8

The Utf8::handle method normalises PHP's UTF-8 handling.

Proxy

The Proxy::handle method attempts to normalise the X_HTTP_FORWARDED_FOR header so you can just use REMOTE_ADDR everywhere. Note that not all proxies handle this the same, so you might need to roll your own.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-16