PSR 标准 相关介绍

PSR 标准 相关介绍

PSR 标准 是什么?

* PHP Standards Recommendations *

PHP 标准 建议

是由一个 非官方的 组织 提出的一套PHP 编码标准. PHP-FIG, FIG 是 Framework Interoperability Group(框架可互用性小组)的缩写(http://www.php-fig.org/),由几位开源框架的开发者成立于 2009 年,从那开始也选取了很多其他成员进来,组织的目的在于:以最低程度的限制,来统一各个项目的编码规范,避免各家自行发展的风格阻碍了程序设计师开发的困扰。

到目前为止 有那些标准

  • PSR-1 Basic Coding Standard 基本代码规范
  • PSR-2 Coding Style Guide 代码样式
  • PSR-3 Logger Interface 日志接口
  • PSR-4 Autoloading Standard 自动加载
  • PSR-6 Caching Interface 缓存接口
  • PSR-7 HTTP Message Interface HTTP消息接口
  • PSR-11 Container Interface 容器接口
  • PSR-13 Hypermedia Links
  • PSR-16 Simple Cache

在提议状态的草案

  • PSR-5 PHPDoc Standard
  • PSR-8 Huggable Interface
  • PSR-9 Security Advisories
  • PSR-10 Security Reporting Process
  • PSR-12 Extended Coding Style Guide

小组成员 列表

你可能感兴趣的:(php)