PEAR Logo

PEAR 1.4.10

PEAR Credits

PEAR Config

auto_discover 0
bin_dir /usr/local/php5/bin
cache_dir /tmp/pear/cache
cache_ttl 3600
data_dir /usr/local/php5/lib/php/data
default_channel pear.php.net
doc_dir /usr/local/php5/lib/php/doc
download_dir /tmp/pear/cache
ext_dir /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613
master_server pear.php.net
php_bin /usr/local/php5/bin/php
php_dir /usr/local/php5/lib/php
php_ini
preferred_mirror pear.php.net
preferred_state stable
remote_config
sig_bin /usr/bin/gpg
sig_keydir /usr/local/php5/etc/pearkeys
sig_type gpg
temp_dir /tmp/pear/temp
test_dir /usr/local/php5/lib/php/test
umask 22
verbose 1

PEAR Packages

Index
| A | B | C | D | F | H | I | M | N | P |

Archive_Tar

Summary Tar file management class
Version 1.3.1
Description This class provides handling of tar files in PHP.
It supports creating, listing, extracting and adding to tar files.
Gzip support is available if PHP has the zlib extension built-in or
loaded. Bz2 compression is also supported with the bz2 extension loaded.
State stable
Information
Top

Auth

Summary Creating an authentication system.
Version 1.3.0
Description The PEAR::Auth package provides methods for creating an authentication
system using PHP.

Currently it supports the following storage containers to read/write
the login data:

* All databases supported by the PEAR database layer
* All databases supported by the MDB database layer
* All databases supported by the MDB2 database layer
* Plaintext files
* LDAP servers
* POP3 servers
* IMAP servers
* vpopmail accounts
* RADIUS
* SAMBA password files
* SOAP
* PEAR website
State stable
Information
Top

Auth_HTTP

Summary HTTP authentication
Version 2.1.6
Description The PEAR::Auth_HTTP class provides methods for creating an HTTP
authentication system using PHP, that is similar to Apache's
realm-based .htaccess authentication.
State stable
Information
Top

Benchmark

Summary Framework to benchmark PHP scripts or function calls.
Version 1.2.6
Description Framework to benchmark PHP scripts or function calls.
State stable
Information
Top

Cache

Summary Framework for caching of arbitrary data.
Version 1.5.4
Description With the PEAR Cache you can cache the result of certain function
calls, as well as the output of a whole script run or share data
between applications.
State stable
Information
Top

Console_Getopt

Summary Command-line option parser
Version 1.2
Description This is a PHP implementation of "getopt" supporting both
short and long options.
State stable
Information
Top

DB

Summary Database Abstraction Layer
Version 1.7.6
Description DB is a database abstraction layer providing:
* an OO-style query API
* portability features that make programs written for one DBMS work with other DBMS's
* a DSN (data source name) format for specifying database servers
* prepare/execute (bind) emulation for databases that don't support it natively
* a result object for each query response
* portable error codes
* sequence emulation
* sequential and non-sequential row fetching as well as bulk fetching
* formats fetched rows as associative arrays, ordered arrays or objects
* row limit support
* transactions support
* table information interface
* DocBook and phpDocumentor API documentation

DB layers itself on top of PHP's existing
database extensions.

Drivers for the following extensions pass
the complete test suite and provide
interchangeability when all of DB's
portability options are enabled:

fbsql, ibase, informix, msql, mssql,
mysql, mysqli, oci8, odbc, pgsql,
sqlite and sybase.

There is also a driver for the dbase
extension, but it can't be used
interchangeably because dbase doesn't
support many standard DBMS features.

DB is compatible with both PHP 4 and PHP 5.
State stable
Information
Top

DB_Pager

Summary Retrieve and return information of database result sets
Version 0.7
Description This class handles all the stuff needed for displaying
paginated results from a database query of Pear DB.
including fetching only the needed rows and giving extensive information
for helping build an HTML or GTK query result display.
State stable
Information
Top

File

Summary Common file and directory routines
Version 1.2.2
Description Provides easy access to read/write to files along with
some common routines to deal with paths. Also provides
interface for handling CSV files.
State stable
Information
Top

File_Find

Summary A Class the facilitates the search of filesystems
Version 1.3.0
Description File_Find, created as a replacement for its Perl counterpart, also named
File_Find, is a directory searcher, which handles, globbing, recursive
directory searching, as well as a slew of other cool features.
State stable
Information
Top

HTML_Crypt

Summary Encrypts text which is later decoded using javascript on the client side
Version 1.2.2
Description The PEAR::HTML_Crypt provides methods to encrypt text, which
can be later be decrypted using JavaScript on the client side

This is very useful to prevent spam robots collecting email
addresses from your site, included is a method to add mailto
links to the text being generated
State stable
Information
Top

HTML_Form

Summary Simple HTML form package
Version 1.3.0
Description 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.

This package has been superceded by HTML_QuickForm.
State stable
Information
Top

HTML_QuickForm

Summary The PEAR::HTML_QuickForm package provides methods for creating, validating, processing HTML forms.
Version 3.2.6
Description The HTML_QuickForm package provides methods for dynamically create, validate and render HTML forms.

Features:
* More than 20 ready-to-use form elements.
* XHTML compliant generated code.
* Numerous mixable and extendable validation rules.
* Automatic server-side validation and filtering.
* On request javascript code generation for client-side validation.
* File uploads support.
* Total customization of form rendering.
* Support for external template engines (ITX, Sigma, Flexy, Smarty).
* Pluggable elements, rules and renderers extensions.
State stable
Information
Top

HTML_QuickForm_Controller

Summary The add-on to HTML_QuickForm package that allows building of multipage forms
Version 1.0.6
Description The package is essentially an implementation of a PageController pattern.
Architecture:
* Controller class that examines HTTP requests and manages form values persistence across requests.
* Page class (subclass of QuickForm) representing a single page of the form.
* Business logic is contained in subclasses of Action class.
Cool features:
* Includes several default Actions that allow easy building of multipage forms.
* Includes usage examples for common usage cases (single-page form, wizard, tabbed form).
State stable
Information
Top

HTML_Template_IT

Summary Integrated Templates
Version 1.1.4
Description HTML_Template_IT:
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.
Features :
* Nested blocks
* Include external file
* Custom tags format (default {mytag})

HTML_Template_ITX :
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.
State stable
Information
Top

HTML_Template_PHPLIB

Summary preg_* based template system.
Version 1.3.1
Description 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.
State stable
Information
Top

HTML_Template_Sigma

Summary An implementation of Integrated Templates API with template 'compilation' added
Version 1.1.5
Description HTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel.

Features:
* Nested blocks. Nesting is controlled by the engine.
* Ability to include files from within template: <!-- INCLUDE -->
* Automatic removal of empty blocks and unknown variables (methods to manually tweak/override this are also available)
* Methods for runtime addition and replacement of blocks in templates
* Ability to insert simple function calls into templates: func_uppercase('Hello world!') and to define callback functions for these
* 'Compiled' templates: the engine has to parse a template file using regular expressions to find all the blocks and variable placeholders. This is a very "expensive" operation and is an overkill to do on every page request: templates seldom change on production websites. Thus this feature: an internal representation of the template structure is saved into a file and this file gets loaded instead of the source one on subsequent requests (unless the source changes)
* PHPUnit-based tests to define correct behaviour
* Usage examples for most of the features are available, look in the docs/ directory
State stable
Information
Top

HTML_TreeMenu

Summary Provides an api to create a HTML tree
Version 1.2.0
Description PHP Based api creates a tree structure using a couple of
small PHP classes. This can then be converted to javascript
using the printMenu() method. The tree is dynamic in
IE 4 or higher, NN6/Mozilla and Opera 7, and maintains state
(the collapsed/expanded status of the branches) by using cookies.
Other browsers display the tree fully expanded. Each node can
have an optional link and icon. New API in 1.1 with many changes
(see CVS for changelog) and new features, of which most came
from Chip Chapin (http://www.chipchapin.com).
State stable
Information
Top

HTTP

Summary Miscellaneous HTTP utilities
Version 1.4.0
Description The HTTP class is a class with static methods for doing
miscellaneous HTTP related stuff like date formatting,
language negotiation or HTTP redirection.
State stable
Information
Top

HTTP_Request

Summary Provides an easy way to perform HTTP requests
Version 1.3.0
Description Supports GET/POST/HEAD/TRACE/PUT/DELETE, Basic authentication, Proxy,
Proxy Authentication, SSL, file uploads etc.
State stable
Information
Top

Image_Color

Summary Manage and handles color data and conversions.
Version 1.0.2
Description Manage and handles color data and conversions.
State stable
Information
Top

Mail

Summary Class that provides multiple interfaces for sending emails
Version 1.1.10
Description PEAR's Mail package defines an interface for implementing mailers under the PEAR hierarchy. It also provides supporting functions useful to multiple mailer backends. Currently supported backends include: PHP's native mail() function, sendmail, and SMTP. This package also provides a RFC822 email address list validation utility class.
State stable
Information
Top

Mail_Mime

Summary Provides classes to create and decode mime messages.
Version 1.3.1
Description Provides classes to deal with creation and manipulation of mime messages.
State stable
Information
Top

Net_Socket

Summary Network Socket Interface
Version 1.0.6
Description Net_Socket is a class interface to TCP sockets. It provides blocking
and non-blocking operation, with different reading and writing modes
(byte-wise, block-wise, line-wise and special formats like network
byte-order ip addresses).
State stable
Information
Top

Net_URL

Summary Easy parsing of Urls
Version 1.0.14
Description Provides easy parsing of URLs and their constituent parts.
State stable
Information
Top

Net_UserAgent_Detect

Summary Net_UserAgent_Detect determines the Web browser, version, and platform from an HTTP user agent string
Version 2.0.1
Description The Net_UserAgent object does a number of tests on an HTTP user
agent string. The results of these tests are available via methods of
the object.

This module is based upon the JavaScript browser detection code
available at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
This module had many influences from the lib/Browser.php code in
version 1.3 of Horde.
State stable
Information
Top

PEAR

Summary PEAR Base System
Version 1.4.10
Description The PEAR package contains:
* the PEAR installer, for creating, distributing
and installing packages
* the beta-quality PEAR_Exception PHP5 error handling mechanism
* the beta-quality PEAR_ErrorStack advanced error handling mechanism
* the PEAR_Error error handling mechanism
* the OS_Guess class for retrieving info about the OS
where PHP is running on
* the System class for quick handling of common operations
with files and directories
* the PEAR base class

New features in a nutshell:
* full support for channels
* pre-download dependency validation
* new package.xml 2.0 format allows tremendous flexibility while maintaining BC
* support for optional dependency groups and limited support for sub-packaging
* robust dependency support
* full dependency validation on uninstall
* remote install for hosts with only ftp access - no more problems with
restricted host installation
* full support for mirroring
* support for bundling several packages into a single tarball
* support for static dependencies on a url-based package
* support for custom file roles and installation tasks

NOTE: users of PEAR_Frontend_Web/PEAR_Frontend_Gtk must upgrade their installations
to the latest version, or PEAR will not upgrade properly
State stable
Information
Top

PEAR_Info

Summary Show Information about your PEAR install and its packages
Version 1.6.1
Description This package generates a comprehensive information page for your current PEAR install.
* The format for the page is similar to that for phpinfo() except using PEAR colors.
* Has complete PEAR Credits (based on the packages you have installed).
* Will show if there is a newer version than the one presently installed (and what its state is)
* Each package has an anchor in the form pkg_PackageName - where PackageName is a case-sensitive PEAR package name
State stable
Information
Top