11 projects tagged "php classes"
The PHP DOM Template system is a fast PHP template engine that is aimed at maximizing development between designers and developers. It attempts to put a clean divider between the two teams. This template system can work in a Dreamweaver environment, which is often ideal for designers.
AMT REST API implements all the functionality available in the Amazon Mechanical Turk API natively in PHP. There are no external dependencies. The package requires PHP 5.3 or later and uses namespaces. Optional sub-packages handle worker qualifications and notifications sent by the AMT service. The source is intended to be used with the docblox automatic documentation system. An HTML manual cross-links the internal documentation with Amazon's API documentation.
phpass is a portable password hashing framework for use in PHP applications. The preferred (most secure) hashing method supported by phpass is the OpenBSD-style bcrypt (known in PHP as CRYPT_BLOWFISH), with a fallback to BSDI-style extended DES-based hashes (known in PHP as CRYPT_EXT_DES), and a last resort fallback to an MD5-based variable iteration count password hashing method implemented in phpass itself.
gAjax can be used to execute PHP functions from JavaScript using AJAX calls. It registers PHP functions that may be called from JavaScript. Then it can generate the necessary JavaScript code to call those PHP functions using AJAX. A separate helper class can be used to generate JavaScript code to be executed when the PHP functions are called.
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.
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.
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.