HSTemplate implements a template engine with output caching support. It can assign template files a name so that they can be referenced by that name. The class loads template files from a given directory, which are HTML files with embedded PHP code. It can assign variables to each template that are stored as class variables. The templates are processed by turning template variables into local variables and then including the template file scripts. The results of processed templates can be cached to avoid subsequent template processing overhead.
Puno is a PHP module (PHP5 and Linux/Unix only) that brings the OpenOffice.org UNO Programming API to the PHP userspace. You can use it to write scripts that create, modify, read, and save OpenOffice.org documents (Writer, Spreadsheet, and Drawing). You can export these documents in various formats, such as PDF or HTML.
gCache is a PHP class that can be used to capture and cache Web page content. It can store cached content in files of a given directory. It uses OS independent file locking to prevent corruption from simultaneous attempts to update the cache files. First, it checks whether the cache file exists and has not expired. In that case, it retrieves the cache content into a class variable. If the cache does not exist or has expired, the class can start capturing the output of the current script. When the script is done, the class can store the captured content in the cache file.
Program is a PHP package that can be used to manage the execution of external programs from PHP. It can build a command line string to execute an external program synchronously or in the background, pass switches to define program options, and define the program input or output files. It also supports using driver classes that can build complex command line switches to simplify the definition of program options in a simplified way.
Multi-thread Simulation is a PHP class that can emulate the execution of program threads using separate HTTP requests to the same script. It establishes an HTTP connection to the same Web server to execute the same PHP script. It sends a request that passes the name a function to execute and an argument to be passed to that function. The requested script executes some code that detects the thread execution request and calls the specified function. When the thread request script ends, the return values of the called function are returned as a serialized string.
PHP gFeed is a PHP class that implements a stream wrapper to read and write RSS feeds. It can be used to parse RSS feeds with path specified in the URL and stores the parsed feed values in global variables. It can also generate RSS feeds from values from the same global variables.
gHttp is a class that implements an HTTP stream wrapper that can be used to access Web pages like files. It can submit HTTP POST and GET requests using regular PHP access functions with support for authentication and using proxy servers. It provides the stream wrappers ghttp, phttp, ghttps, and phttps for performing HTTP GET and POST requests respectively using SSL or not. They can also be used as replacements for the regular HTTP stream wrappers under PHP 5.1 or later. Optionally, it can cache the responses of the same HTTP requests in files of a given directory.