Repository: PEAR - License: PHP License - By Stijn de Reede (lead)
This is a parser to replace UBB style tags with their html equivalents.
This is a parser to replace UBB style tags with their html equivalents. It does not simply do some regex calls, but is complete stack based parse engine. This ensures that all tags are properly nested, if not, extra tags are added to maintain the nesting. This parser should only produce xhtml 1.0 compliant code. All tags are validated and so are all their attributes. It should be easy to extend this parser with your own tags.
Repository: PEAR - License: PHP License - By Adam Daniel (lead) - Bertrand Mansion (lead)
PEAR::HTML_Common is a base class for other HTML classes.
The PEAR::HTML_Common package provides methods for html code display and attributes handling.
Repository: - License: PHP License -
Repository: PEAR - License: PHP License 3.0 - By Klaus Guenther (lead) - Laurent Laville (developer)
HTML_CSS is a class for generating CSS declarations.
HTML_CSS provides a simple interface for generating a stylesheet declaration. It is completely standards compliant, and has some great features:
In addition, it shares the following with HTML_Common based classes:
Repository: PEAR - License: PHP License - By Stig Sæther Bakken (lead)
Simple HTML form package
This is a simple HTML form generator. It supports all the HTML form element types including file uploads, may return or print the form, just individual form elements or the full form in "table mode" with a fixed layout.
Repository: PEAR - License: PHP 3.0 - By Tal Peer (lead) - Pierre-Alain Joye (lead)
Provides an interface for creating simple JS scripts.
Provides two classes:
Allow output data to a file, to the standart output(print), or return
Repository: PEAR - License: PHP License - By Ulf Wendel (lead) - Alexey Borzov (lead)
Generates HTML menus from multidimensional hashes.
With the HTML_Menu class one can easily create and maintain a navigation structure for websites, configuring it via a multidimensional hash structure. Different modes for the HTML output are supported.
Repository: PEAR - License: PHP License 3.0 - By Klaus Guenther (lead) - Adam Daniel (lead)
PEAR::HTML_Page is a base class for XHTML page generation.
The PEAR::HTML_Page package provides a simple interface for generating an XHTML compliant page.
plus preliminary support for XHTML 2.0
Repository: PECL - License: PHP License - By Hartmut Holzgraefe (lead)
HTML parser extenion
HTML parser extension based on the ekhtml library (http://ekhtml.sourceforge.net/)
Repository: PEAR - License: PHP License 3.0 - By Laurent Laville (lead) - Stefan Neufeind (contributor) - Christian Wenz (helper)
How to include a loading bar in your XHTML documents quickly and easily.
This package provides a way to add a loading bar fully customizable in existing XHTML documents.
Your browser should accept DHTML feature.
Repository: PEAR - License: PHP License - By Bertrand Mansion (lead) - Adam Daniel (lead) - Alexey Borzov (lead) - Jason Rust (developer) - Thomas Schulz (developer)
The PEAR::HTML_QuickForm package provides methods for creating, validating, processing HTML forms.
The HTML_QuickForm package provides methods for dynamically create, validate and render HTML forms.
Repository: PEAR - License: PHP License - By Alexey Borzov (lead) - Bertrand Mansion (developer)
The add-on to HTML_QuickForm package that allows building of multipage forms
The package is essentially an implementation of a PageController pattern.
Repository: PEAR - License: PHP License - By Klaus Guenther (lead) - Adam Daniel (lead)
HTML_Select is a class for generating HTML form select elements.
HTML_Select provides an OOP way of generating HTML form select elements.
Repository: PEAR - License: BSD - By Derick Rethans (lead) - Richard Heyes (lead)
Some small classes to handle common <select> lists
Provides <select> lists for:
Repository: PEAR - License: PHP License - By Bertrand Mansion (lead) - Adam Daniel (lead)
PEAR::HTML_Table makes the design of HTML tables easy, flexible, reusable and efficient.
The PEAR::HTML_Table package provides methods for easy and efficient design of HTML tables.
Repository: PEAR - License: PHP License v3.0 - By Ian Eure (lead)
Autofill a table with data
HTML_Table_Matrix is an extension to HTML_Table which allows you to easily fill up a table with data.
Repository: - License: PHP License -
A class to build sortable tables.
There are 4 built in supported sort types:
Repository: PEAR - License: PHP License - By Alan Knowles (lead)
An extremely powerful Tokenizer driven Template engine
HTML_Template_Flexy started it's life as a simplification of HTML_Template_Xipe, however in Version 0.2, It became one of the first template engine to use a real Lexer, rather than regex'es, making it possible to do things like ASP.net or Cold Fusion tags.
However, it still has a very simple set of goals.
Repository: PEAR - License: PHP License - By Ulf Wendel (lead) - Pierre-Alain Joye (lead)
Simple template API.
The Isotemplate API is somewhat tricky for a beginner although it is the best one you can build. template::parse() [phplib template = Isotemplate] requests you to name a source and a target where the current block gets parsed into. Source and target can be block names or even handler names. This API gives you a maximum of fexibility but you always have to know what you do which is quite unusual for php skripter like me.
I noticed that I do not any control on which block gets parsed into which one. If all blocks are within one file, the script knows how they are nested and in which way you have to parse them. IT knows that inner1 is a child of block2, there's no need to tell him about this.
With this class you get the full power of the phplib template class. You may have one file with blocks in it but you have as well one main file and multiple files one for each block. This is quite usefull when you have user configurable websites. Using blocks not in the main template allows you to modify some parts of your layout easily.
Repository: PEAR - License: LGPL - By Björn Schotte (lead)
preg_* based template system.
The popular Template system from PHPLIB ported to PEAR. It has some features that can't be found currently in the original version like fallback paths. It has minor improvements and cleanup in the code as well as some speed improvements.
Repository: PEAR - License: PHP License - By Alexey Borzov (lead)
An implementation of Integrated Templates API with template 'compilation' added
HTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel.
Repository: PEAR - License: PHP License - By Wolfram Kriesing (lead)
A simple, fast and powerful template engine.
The template engine is a compiling engine, all templates are compiled into PHP-files. This will make the delivery of the files faster on the next request, since the template doesn't need to be compiled again. If the template changes it will be recompiled.
There is no new template language to learn. Beside the default mode, there is a set of constructs since version 1.6 which allow you to edit your templates with WYSIWYG editors.
By default the template engine uses indention for building blocks (you can turn that off). This feature was inspired by Python and by the need I felt to force myself to write proper HTML-code, using proper indentions, to make the code better readable.
Every template is customizable in multiple ways. You can configure each template or an entire directory to use different delimiters, caching parameters, etc. via either an XML-file or a XML-chunk which you simply write anywhere inside the tpl-code.
Using the Cache the final file can also be cached (i.e. a resulting HTML-file). The caching options can be customized as needed. The cache can reduce the server load by very much, since the entire php-file doesn't need to be processed again, the resulting client-readable data are simply delivered right from the cache (the data are saved using php's output buffering).
The template engine is prepared to be used for multi-language applications too. If you i.e. use the PEAR::I18N for translating the template, the compiled templates need to be saved under a different name for each language. The template engine is prepared for that too, it saves the compiled template including the language code if required (i.e. a compiled index.tpl which is saved for english gets the filename index.tpl.en.php).
Repository: PEAR - License: BSD - By Richard Heyes (lead)
Provides an api to create a HTML tree
Repository: PEAR - License: PHP License - By Lorenzo Alberton (lead) - Richard Heyes (lead)
Data paging class
It takes an array of data as input and page it according to various parameters. It also builds links within a specified range, and allows complete customization of the output (it even works with mod_rewrite). Two modes available: "Jumping" and "Sliding" window style.
Repository: PEAR - License: PHP License - By Lorenzo Alberton (lead)
Sliding Window Pager.
It takes an array of data as input and page it according to various parameters. It also builds links within a specified range, and allows complete customization of the output (it even works with mod_rewrite). It is compatible with PEAR::Pager's API.
[Deprecated]Use PEAR::Pager v2.x with $mode = 'Sliding' instead
Repository: PECL - License: PHP - By John Coggeshall (lead) - Ilia Alshanetsky (developer)
Tidy HTML Repairing and Parsing
Tidy is a binding for the Tidy HTML clean and repair utility which allows you to not only clean and otherwise manipluate HTML documents, but also traverse the document tree using the Zend Engine 2 OO semantics.