69 projects tagged "php classes"
Phptempt is a template engine for PHP and Java. Templates are precompiled and then included to the script/Java program as a PHP script/Java program. Templates are organized in blocks and placeholders, all placed in one single file. Blocks may be recursive. A version of the engine is available that is optimized for Java and particularly useful for the creation of code generators of any kind.
BlockTemplate is a class that implements a template engine based on the concept of blocks. The template files do not define looping logic, only variables or parameters to be replaced, to avoid using programming concepts that are not easy for designers to understand. The class supports event driven callback functions for customizing the template engine behavior.
The Simple HTML Parser is a fast HTML parser for PHP 5 that might be described as a stream parser. It divides HTML into nodes (tags, text, or comments) and returns them one at a time in the order they appear in the source. It was inspired by HTML Parser for PHP-4 but was written from the ground up with speed as the primary goal.
Highlighter is a PHP class that can be used to reformat highlighted PHP code. It can highlight PHP code and turn keywords into links to the respective manual page in the PHP.net site. If the code is not enclosed in PHP code tags, it adds these tags before highlighting the code. It can also escape a text string to display as HTML using configurable block tags.
GeSHi is a generic syntax highlighter for PHP that takes any source code and highlights it in XHTML and CSS. It features case-sensitive or insensitive highlighting, auto-caps/non-caps of any keyword, an unlimited scope for styling, the use of CSS in which almost any aspect of the source can be highlighted, the use of CSS classes to massively reduce the amount of output code, function-to-URL capabilities, line numbering, and much more. Over 100 languages are supported, including Java, C, PHP, HTML, CSS, SQL, Pascal, C++, XML, ASP, and ASM.
PSX is a framework for developing dynamic Web sites in PHP. The goal of PSX is to help you develop RESTful APIs serving Web standard formats like JSON, XML, Atom, and RSS. It has a focus on social technologies and provides classes to use and implement OAuth, OpenID, Opengraph, Opensocial, Opensearch, PubSubHubbub, Atom, and RSS.
htmLawed is a PHP script that makes input text more secure, HTML standards-compliant, and suitable in general from the viewpoint of a Web-page administrator, for use in the body of HTML 4 or XHTML 1 or 1.1 documents. It is a customizable HTML/XHTML filter, processor, purifier, and sanitizer. It can ensure that HTML tags are balanced and properly nested tags, neutralize code that may be used for cross-site scripting (XSS) attacks, and limit the allowed HTML elements, tags, attributes, or URL protocols.
XML parser class is a PHP class that parses arbitrary XML input and builds an array with the structure of all tag and data elements. Optionally it can keep track of the positions of each element to locate elements that may be contextually in error. Supports a parsed file cache to minimize the overhead of parsing the same file repeatedly. Optimized parsing of simplified XML (SML) formats ignoring the tag attributes.