PEAR :: PEAR_Info()
PEAR Logo

PEAR 1.8.1

Loaded Configuration File /root/.pearrc
Alternative Configuration Files
USER file
/root/.pearrc
SYSTEM file
/usr/local/etc/pear.conf

PEAR Credits

PEAR Configuration

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

PEAR Channels

Name pear.php.net
Alias pear
Summary PHP Extension and Application Repository

24 Installed Packages, Channel pear.php.net

Index
| A | C | D | H | I | M | P | S | T | X |

Archive_Tar

Channel pear.php.net
Summary Tar file management class
Version 1.3.3 (stable) was released on 2009-03-27
License New BSD License
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.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3.0
Yes Package PEAR >= 1.5.4
Latest Version 1.3.8(stable)
Package XML version 2.0 packaged with PEAR version 1.8.0RC1
Last Modified 2009-04-17
Top

Cache_Lite

Channel pear.php.net
Summary Fast and Safe little cache system
Version 1.7.7 (stable) was released on 2009-03-07
License lgpl
Description This package is a little cache system optimized for file containers. It is fast and safe (because it uses file locking and/or anti-corruption tests).
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.0.0
Yes Package PEAR >= 1.5.4
Yes Package PEAR has
Latest Version 1.7.12(stable)
Package XML version 2.0 packaged with PEAR version 1.7.1
Last Modified 2009-04-17
Top

Console_Getargs

Channel pear.php.net
Summary A command-line arguments parser
Version 1.3.4 (stable) was released on 2006-11-16
License PHP License
Description The Console_Getargs package implements a Command Line arguments and
parameters parser for your CLI applications. It performs some basic
arguments validation and automatically creates a formatted help text,
based on the given configuration.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.1.0
Yes Package PEAR >= 1.4.0b1
Latest Version 1.3.5(stable)
Package XML version 2.0 packaged with PEAR version 1.4.11
Last Modified 2009-04-17
Top

Console_Getopt

Channel pear.php.net
Summary Command-line option parser
Version 1.2.3 (stable) was released on 2007-06-12
License PHP License
Description This is a PHP implementation of "getopt" supporting both
short and long options.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3.0
Yes Package PEAR >= 1.4.3
Latest Version 1.3.1(stable)
Package XML version 2.0 packaged with PEAR version 1.6.1
Last Modified 2007-08-23
Top

Date

Channel pear.php.net
Summary Generic date/time handling class for PEAR
Version 1.4.7 (stable) was released on 2006-11-22
License BSD License
Description Generic classes for representation and manipulation of
dates, times and time zones without the need of timestamps,
which is a huge limitation for php programs. Includes time zone data,
time zone conversions and many date/time conversions.
It does not rely on 32-bit system date stamps, so
you can display calendars and compare dates that date
pre 1970 and post 2038. This package also provides a class
to convert date strings between Gregorian and Human calendar formats.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3
Yes Package PEAR >= 1.4.0
Package XML version 2.0 packaged with PEAR version 1.5.0a1
Last Modified 2006-12-20
Top

DB

Channel pear.php.net
Summary Database Abstraction Layer
Version 1.7.13 (stable) was released on 2007-09-21
License PHP License
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.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.2.0
Yes Package PEAR >= 1.4.0b1
Yes Package PEAR >= 1.0b1
Latest Version 1.7.14(stable)
Package XML version 2.0 packaged with PEAR version 1.6.2
Last Modified 2008-01-15
Top

DB_DataObject

Channel pear.php.net
Summary An SQL Builder, Object Interface to Database Tables
Version 1.8.10 (stable) was released on 2009-03-19
License PHP License
Description DataObject performs 2 tasks:
1. Builds SQL statements based on the objects vars and the builder methods.
2. acts as a datastore for a table row.
The core class is designed to be extended for each of your tables so that you put the
data logic inside the data classes.
included is a Generator to make your configuration files and your base classes.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3
Yes Package PEAR >= 1.4.0b1
Yes Package DB >= 1.7.0
Yes Package Date >= 1.4.3
No Package MDB2 >= 2.0.0RC1
No Package Validate >= 0.1.1
Latest Version 1.9.6(stable)
Package XML version 2.0 packaged with PEAR version 1.7.1
Last Modified 2009-04-17
Top

DB_DataObject_FormBuilder

Channel pear.php.net
Summary Class to automatically build HTML_QuickForm objects from a DB_DataObject-derived class
Version 1.0.0RC7 (beta) was released on 2007-03-31
License LGPL
Description DB_DataObject_FormBuilder will aid you in rapid application development using the packages DB_DataObject and HTML_QuickForm. For having a quick but working prototype of your application, simply model the database, run DataObject's createTable script over it and write a script that passes one of the resulting objects to the FormBuilder class. The FormBuilder will automatically generate a simple but working HTML_QuickForm object that you can use to test your application. It also provides a processing method that will automatically detect if an insert() or update() command has to be executed after the form has been submitted. If you have set up DataObject's links.ini file correctly, it will also automatically detect if a table field is a foreign key and will populate a selectbox with the linked table's entries. There are many optional parameters that you can place in your DataObjects.ini or in the properties of your derived classes, that you can use to fine-tune the form-generation, gradually turning the prototypes into fully-featured forms, and you can take control at any stage of the process.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3.0
Yes Package PEAR >= 1.4.4
Yes Package DB_DataObject >= 1.8.5
Yes Package HTML_QuickForm >= 3.2.4
No Package Date >= 1.4.7
No Package HTML_Table >= 1.7.5
No Package HTML_QuickForm_ElementGrid >= 0.1.0
Latest Version 1.0.1(stable)
Package XML version 2.0 packaged with PEAR version 1.5.1
Last Modified 2007-08-26
Top

HTML_BBCodeParser

Channel pear.php.net
Summary This is a parser to replace UBB style tags with their html equivalents.
Version 1.2.2 (stable) was released on 2007-07-02
License PHP License
Description 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.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3.0
Yes Package PEAR >= 1.5.4
Yes Package PEAR >= 1.5.4
Latest Version 1.2.3(stable)
Package XML version 2.0 packaged with PEAR version 1.6.1
Last Modified 2008-01-15
Top

HTML_Common

Channel pear.php.net
Summary PEAR::HTML_Common is a base class for other HTML classes.
Version 1.2.5 (stable) was released on 2009-04-03
License PHP License
Description The PEAR::HTML_Common package provides methods for html code display and attributes handling.
* Methods to set, remove, update html attributes.
* Handles comments in HTML code.
* Handles layout, tabs, line endings for nicer HTML code.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.0.4
Yes Package PEAR >= 1.4.3
Package XML version 2.0 packaged with PEAR version 1.7.2
Last Modified 2009-04-17
Top

HTML_QuickForm

Channel pear.php.net
Summary The PEAR::HTML_QuickForm package provides methods for creating, validating, processing HTML forms.
Version 3.2.11 (stable) was released on 2009-04-07
License PHP License
Description NOTICE: development of HTML_QuickForm version 3 is frozen. Please submit
feature requests for HTML_QuickForm2 package.

The HTML_QuickForm package provides methods to 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.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3
Yes Package PEAR >= 1.4.0
Yes Package HTML_Common >= 1.2.1
Latest Version 3.2.13(stable)
Package XML version 2.0 packaged with PEAR version 1.7.2
Last Modified 2009-04-17
Top

Image_Transform

Channel pear.php.net
Summary Provides a standard interface to manipulate images using different libraries
Version 0.9.0 (alpha) was released on 2005-07-15
License PHP License
Description This package was written to provide a simpler and cross-library interface to doing image transformations and manipulations.
It provides :

* support for GD, ImageMagick, Imagick and NetPBM
* files related functions
* addText
* Scale (by length, percentage, maximum X/Y)
* Resize
* Rotate (custom angle)
* Crop
* Mirror (Most drivers)
* Flip (Most drivers)
* Add border (soon)
* Add shadow (soon)
Latest Version 0.9.4(alpha)
Package XML version 1.0 packaged with PEAR version 1.7.2
Last Modified 2006-12-23
Top

MDB2

Channel pear.php.net
Summary database abstraction layer
Version 2.4.1 (stable) was released on 2007-05-03
License BSD License
Description PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction layers.

It provides a common API for all supported RDBMS. The main difference to most
other DB abstraction packages is that MDB2 goes much further to ensure
portability. MDB2 provides most of its many features optionally that
can be used to construct portable SQL statements:
* Object-Oriented API
* A DSN (data source name) or array format for specifying database servers
* Datatype abstraction and on demand datatype conversion
* Various optional fetch modes to fix portability issues
* Portable error codes
* Sequential and non sequential row fetching as well as bulk fetching
* Ability to make buffered and unbuffered queries
* Ordered array and associative array for the fetched rows
* Prepare/execute (bind) named and unnamed placeholder emulation
* Sequence/autoincrement emulation
* Replace emulation
* Limited sub select emulation
* Row limit emulation
* Transactions/savepoint support
* Large Object support
* Index/Unique Key/Primary Key support
* Pattern matching abstraction
* Module framework to load advanced functionality on demand
* Ability to read the information schema
* RDBMS management methods (creating, dropping, altering)
* Reverse engineering schemas from an existing database
* SQL function call abstraction
* Full integration into the PEAR Framework
* PHPDoc API documentation
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3.2
Yes Package PEAR >= 1.4.0b1
Yes Package PEAR >= 1.3.6
Package XML version 2.0 packaged with PEAR version 1.5.3
Last Modified 2007-08-23
Top

MDB2_Driver_mysql

Channel pear.php.net
Summary mysql MDB2 driver
Version 1.4.1 (stable) was released on 2007-05-03
License BSD License
Description This is the MySQL MDB2 driver.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3.0
Yes Package PEAR >= 1.4.0b1
Yes Package MDB2 >= 2.4.1
Yes Extension mysql has
Package XML version 2.0 packaged with PEAR version 1.5.3
Last Modified 2007-08-23
Top

PEAR

Channel pear.php.net
Summary PEAR Base System
Version 1.8.1 (stable) was released on 2009-04-15
License New BSD License
Description The PEAR package contains:
* the PEAR installer, for creating, distributing
and installing packages
* the PEAR_Exception PHP5 error handling mechanism
* the 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
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
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.4.0
Yes Package PEAR >= 1.4.3
Yes Package Archive_Tar >= 1.1
Yes Package Structures_Graph >= 1.0.2
Yes Package Console_Getopt >= 1.2
Yes Package XML_Util >= 1.2.0
No Package PEAR_Frontend_Web not
No Package PEAR_Frontend_Gtk not
Yes Extension xml has
Yes Extension pcre has
Latest Version 1.9.4(stable)
Package XML version 2.0 packaged with PEAR version 1.8.1
Last Modified 2009-04-17
Top

PEAR_Info

Channel pear.php.net
Summary Show Information about your PEAR install and its packages
Version 1.9.2 (stable) was released on 2009-02-19
License PHP License 3.01
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
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3.10
Yes Package PEAR >= 1.5.4
Yes Package Console_Getargs >= 1.3.3
Yes Extension pcre has
No Package PHPUnit >= 3.1.4
Package XML version 2.0 packaged with PEAR version 1.7.2
Last Modified 2009-04-17
Top

Savant3_Plugin_Form

Channel pear.php.net
Summary A plugin set for Savant to generate forms.
Version 0.2.1 (devel) was released on 2005-09-22
License LGPL License
Description This set of plugins allows you to generate standard form
elements manually (by calling the individual 'form*' plugins) or
entire forms with automatic layout (by calling the 'form' plugin
and using an array of element hints).
Package XML version 1.0 packaged with PEAR version 1.7.2
Last Modified 2006-10-30
Top

Structures_Graph

Channel pear.php.net
Summary Graph datastructure manipulation library
Version 1.0.2 (stable) was released on 2007-02-01
License LGPL
Description Structures_Graph is a package for creating and manipulating graph datastructures. It allows building of directed
and undirected graphs, with data and metadata stored in nodes. The library provides functions for graph traversing
as well as for characteristic extraction from the graph topology.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.2.0
Yes Package PEAR >= 1.4.3
Latest Version 1.0.4(stable)
Package XML version 2.0 packaged with PEAR version 1.5.0
Last Modified 2007-03-22
Top

Text_Wiki

Channel pear.php.net
Summary Transforms Wiki and BBCode markup into XHTML, LaTeX or plain text markup. This is the base engine for all of the Text_Wiki sub-classes.
Version 1.2.0 (stable) was released on 2007-06-09
License LGPL
Description The text transformation is done in 2 steps.
The chosen parser uses markup rules to tokenize the tags and content.
Renderers output the tokens and text into the requested format.
The tokenized form replaces the tags by a protected byte value associated to an index in an options table. This form shares up to 50 rules by all parsers and renderers.
The package is intented for versatile transformers as well as converters.
Text_Wiki is delivered with its own parser, which is used by Yawiki or Horde's Wicked and three basic renderers: XHTML , LaTeX and plain text.
Strong sanitizing of XHTML is default.
Parsers (* and Renderers) exist for BBCode, Cowiki (*), Dokuwiki (*), Mediawiki and Tikiwiki (*).
It is highly configurable and can be easily extended.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.0.0
Yes Package PEAR >= 1.4.4
Latest Version 1.2.1(stable)
Package XML version 2.0 packaged with PEAR version 1.5.1
Last Modified 2007-08-23
Top

Text_Wiki_Mediawiki

Channel pear.php.net
Summary Mediawiki parser for Text_Wiki
Version 0.1.0 (alpha) was released on 2006-04-10
License LGPL
Description Parses Mediawiki mark-up to tokenize the text for Text_Wiki renderings. You can see a reference for this syntax here: http://meta.wikimedia.org/wiki/Help:Editing#The_wiki_markup
Dependencies
Required Type Name Relation Version
No Package Text_Wiki >= 1.1.0
Latest Version 0.2.0(alpha)
Package XML version 1.0 packaged with PEAR version 1.5.0a1
Last Modified 2006-10-08
Top

Translation2

Channel pear.php.net
Summary Class for multilingual applications management.
Version 2.0.1 (stable) was released on 2008-11-14
License BSD
Description This class provides an easy way to retrieve all the strings for a multilingual site from a data source (i.e. db).
The following containers are provided, more will follow:
- PEAR::DB
- PEAR::MDB
- PEAR::MDB2
- gettext
- XML
- PEAR::DB_DataObject (experimental)
It is designed to reduce the number of queries to the db, caching the results when possible.
An Admin class is provided to easily manage translations (add/remove a language, add/remove a string).
Currently, the following decorators are provided:
- CacheLiteFunction (for file-based caching)
- CacheMemory (for memory-based caching)
- DefaultText (to replace empty strings with their keys)
- ErrorText (to replace empty strings with a custom error text)
- Iconv (to switch from/to different encodings)
- Lang (resort to fallback languages for empty strings)
- SpecialChars (replace html entities with their hex codes)
- UTF-8 (to convert UTF-8 strings to ISO-8859-1)
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.0.0
Yes Package PEAR >= 1.4.0b1
No Package Cache_Lite has
No Package DB has
No Package DB_DataObject has
No Package MDB has
No Package MDB2 has
No Package File_Gettext has
No Package I18Nv2 >= 0.9.1
No Package XML_Serializer >= 0.13.0
No Extension gettext has
Latest Version 2.0.4(stable)
Package XML version 2.0 packaged with PEAR version 1.7.2
Last Modified 2009-04-17
Top

XML_Parser

Channel pear.php.net
Summary XML parsing class based on PHP's bundled expat
Version 1.3.2 (stable) was released on 2009-01-21
License BSD License
Description This is an XML parser based on PHPs built-in xml extension.
It supports two basic modes of operation: "func" and "event". In "func" mode, it will look for a function named after each element (xmltag_ELEMENT for start tags and xmltag_ELEMENT_ for end tags), and in "event" mode it uses a set of generic callbacks.

Since version 1.2.0 there's a new XML_Parser_Simple class that makes parsing of most XML documents easier, by automatically providing a stack for the elements.
Furthermore its now possible to split the parser from the handler object, so you do not have to extend XML_Parser anymore in order to parse a document with it.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.2.0
Yes Package PEAR >= 1.4.0b1
Yes Package PEAR has
Latest Version 1.3.4(stable)
Package XML version 2.0 packaged with PEAR version 1.7.2
Last Modified 2009-04-17
Top

XML_Serializer

Channel pear.php.net
Summary Swiss-army knive for reading and writing XML files. Creates XML files from data structures and vice versa.
Version 0.18.0 (beta) was released on 2005-10-02
License PHP License
Description XML_Serializer serializes complex data structures like arrays or object as XML documents.
This class helps you generating any XML document you require without the need for DOM.
Furthermore this package can be used as a replacement to serialize() and unserialize() as it comes with a matching XML_Unserializer that is able to create PHP data structures (like arrays and objects) from XML documents, if type hints are available.
If you use the XML_Unserializer on standard XML files, it will try to guess how it has to be unserialized. In most cases it does exactly what you expect it to do.
Try reading a RSS file with XML_Unserializer and you have the whole RSS file in a structured array or even a collection of objects, similar to XML_RSS.

Since version 0.8.0 the package is able to treat XML documents similar to the simplexml extension of PHP 5.
Dependencies
Required Type Name Relation Version
Yes Package XML_Util >= 1.1.1
Yes Package XML_Parser >= 1.2.6
Yes Package PEAR has
Yes PHP >= 4.2.0
Yes Extension xml has
Latest Version 0.20.2(beta)
Package XML version 1.0 packaged with PEAR version 1.4.0
Last Modified 2006-10-08
Top

XML_Util

Channel pear.php.net
Summary XML utility class
Version 1.2.1 (stable) was released on 2008-12-07
License BSD License
Description Selection of methods that are often needed when working with XML documents. Functionality includes creating of attribute lists from arrays, creation of tags, validation of XML names and more.
Dependencies
Required Type Name Relation Version
Yes PHP >= 4.3.0
Yes Package PEAR >= 1.4.3
Yes Extension pcre has
Package XML version 2.0 packaged with PEAR version 1.7.2
Last Modified 2009-04-17
Top