承接 openpsa/quickform 相关项目开发

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

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

openpsa/quickform

最新稳定版本:v3.4.2

Composer 安装命令:

composer require openpsa/quickform

包简介

PHP 5.4 compatible fork of HTML_QuickForm

README 文档

README

Forward compatible fork of HTML_QuickForm

This package is intended mainly as a drop-in replacement for existing installations of HTML_Quickform. See http://pear.php.net/manual/en/package.html.html-quickform.php for documentation.

The main differences to the original package are:

  • Compatible with PHP 5.4 and newer: It will run without producing warnings or deprecated notices
  • No PEAR dependencies: HTML_Common is replaced by a bundled version, and PEAR_Errors are replaced by exceptions
  • Support for Composer autoloading: All include statements have been removed in favor of classmap autoloading
  • Upon popular request, HTML_QuickForm_Renderer_Tableless has been included and is available out of the box (PHP only, you need to supply your own stylesheet)

API Compatibility

  • Some calls are listed in the PEAR documentation as static, but making them statically callable without warnings would require significant rewrites and might break other use cases. So if you get errors about assuming $this from an incompatible context, just change your calls to nonstatic ones.

  • HTML_QuickForm_Renderer::renderHidden has a slightly changed signature and takes three arguments now: &$element, $required, $error, exactly like HTML_QuickForm_Renderer::renderElement. This means it is now possible to render validation errors on hidden fields, which is useful for example for CSRF fields. Custom renderer implementations need to add the two arguments to the method's signature, but actual implementations do not need to be changed.

统计信息

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

GitHub 信息

  • Stars: 22
  • Watchers: 4
  • Forks: 16
  • 开发语言: PHP

其他信息

  • 授权协议: PHP-3.01
  • 更新时间: 2013-04-13