Abstract base class for HTML classes (PHP5 port of HTML_Common package).

v2.1.2 2019-04-07 10:59 UTC

This package is auto-updated.

Last update: 2020-06-15 19:21:13 UTC


Build Status

This is a repository for PEAR HTML_Common2 package that has been migrated from PEAR SVN.

The package contains an abstract HTML_Common2 class that implements methods for HTML attributes handling and setting document-wide options. It is quite helpful as a building block for packages generating HTML and is currently used as such by PEAR HTML_QuickForm2 package. The package is a PHP5 rewrite of PEAR HTML_Common.


Please report all issues via the PEAR bug tracker.

End-user documentation as well as generated API documentation for current release is available on PEAR website.

Pull requests are welcome.

Testing, Packaging and Installing (Pear)

To test, run either

$ phpunit tests/


$ pear run-tests -r

To build, simply

$ pear package

To install from scratch

$ pear install package.xml

To upgrade

$ pear upgrade -f package.xml