PEAR Logo

PEAR Array

PEAR Credits

PEAR Config

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

PEAR Packages

Index
| A | C | D | F | H | I | L | M | N | O | P | S | T | V | X |

Auth

Summary Creating an authentication system.
Version 1.2.3
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
* Plaintext files
* LDAP servers
* POP3 servers
* IMAP servers
* vpopmail accounts
* RADIUS
* SAMBA password files
* SOAP
State stable
Information
Top

Auth_HTTP

Summary HTTP authentication
Version 2.1.4
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

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

Cache_Lite

Summary Fast and Safe little cache system
Version 1.4.1
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).
State stable
Information
Top

Config

Summary Your configurations swiss-army knife.
Version 1.10.4
Description The Config package provides methods for configuration manipulation.
* Creates configurations from scratch
* Parses and outputs different formats (XML, PHP, INI, Apache...)
* Edits existing configurations
* Converts configurations to other formats
* Allows manipulation of sections, comments, directives...
* Parses configurations into a tree structure
* Provides XPath like access to directives
State stable
Information
Top

Console_Getopt

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

Crypt_CBC

Summary A class to emulate Perl's Crypt::CBC module.
Version 0.4
Description A class to emulate Perl's Crypt::CBC module.
State stable
Information
Top

Crypt_CHAP

Summary Generating CHAP packets.
Version 1.0.0
Description This package provides Classes for generating CHAP packets.
Currently these types of CHAP are supported:
* CHAP-MD5
* MS-CHAPv1
* MS-CHAPv2
For MS-CHAP the mhash and mcrypt extensions must be loaded.
State stable
Information
Top

Crypt_RC4

Summary Encryption class for RC4 encryption
Version 1.0.2
Description RC4 encryption class
State stable
Information
Top

Crypt_Xtea

Summary A class that implements the Tiny Encryption Algorithm (TEA) (New Variant).
Version 1.0
Description A class that implements the Tiny Encryption Algorithm (TEA) (New Variant).
This class does not depend on mcrypt.
Encryption is relatively fast, decryption relatively slow.
Original code from http://vader.brad.ac.uk/tea/source.shtml#new_ansi
State stable
Information
Top

Date

Summary Date and Time Zone Classes
Version 1.4.3
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.
State stable
Information
Top

DB

Summary Database Abstraction Layer
Version 1.7.4
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_DataObject

Summary An SQL Builder, Object Interface to Database Tables
Version 1.7.13
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.
State stable
Information
Top

DB_NestedSet

Summary API to build and query nested sets
Version 1.2.4
Description DB_NestedSet let's you create trees with infinite depth
inside a relational database.
The package provides a way to
o create/update/delete nodes
o query nodes, trees and subtrees
o copy (clone) nodes, trees and subtrees
o move nodes, trees and subtrees
o call event handlers on specific events like
on node deletion
o output the tree with
- PEAR::HTML_TreeMenu
- TigraMenu (http://www.softcomplex.com/products/tigra_menu/)
o It also features caching of SQL queries using PEAR::Cache
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

DB_QueryTool

Summary An OO-interface for easily retrieving and modifying data in a DB.
Version 1.0.0
Description This package is an OO-abstraction to the SQL-Query language, it provides methods such
as setWhere, setOrder, setGroup, setJoin, etc. to easily build queries.
It also provides an easy to learn interface that interacts nicely with HTML-forms using
arrays that contain the column data, that shall be updated/added in a DB.
This package bases on an SQL-Builder which lets you easily build
SQL-Statements and execute them.
State stable
Information
Top

File

Summary Common file and directory routines
Version 1.1.0
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 facillitates the search of filesystems
Version 0.2.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

File_Fstab

Summary Read and write fstab files
Version 2.0.1
Description File_Fstab is an easy-to-use package which can read & write UNIX fstab files. It presents a pleasant object-oriented interface to the fstab.
Features:
* Supports blockdev, label, and UUID specification of mount device.
* Extendable to parse non-standard fstab formats by defining a new Entry class for that format.
* Easily examine and set mount options for an entry.
* Stable, functional interface.
* Fully documented with PHPDoc.
State stable
Information
Top

File_HtAccess

Summary Manipulate .htaccess files
Version 1.1.0
Description Provides methods to create and manipulate .htaccess files.
State stable
Information
Top

File_Passwd

Summary Manipulate many kinds of password files
Version 1.1.3
Description Provides methods to manipulate and authenticate against standard Unix,
SMB server, AuthUser (.htpasswd), AuthDigest (.htdigest), CVS pserver
and custom formatted password files.
State stable
Information
Top

File_SearchReplace

Summary Performs search and replace routines
Version 1.0.1
Description Provides various functions to perform search/replace
on files. Preg/Ereg regex supported along with faster
but more basic str_replace routine.
State stable
Information
Top

File_SMBPasswd

Summary Class for managing SAMBA style password files.
Version 1.0.1
Description With this package, you can maintain smbpasswd-files, usualy used by SAMBA.
State stable
Information
Top

FSM

Summary Finite State Machine
Version 1.2.2
Description The FSM package provides a simple class that implements a Finite State Machine.
State stable
Information
Top

HTML_Common

Summary PEAR::HTML_Common is a base class for other HTML classes.
Version 1.2.1
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.
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_CSS

Summary HTML_CSS is a class for generating CSS declarations.
Version 0.2.0
Description HTML_CSS provides a simple interface for generating
a stylesheet declaration. It is completely standards compliant, and
has some great features:
* Simple OO interface to CSS definitions
* Output to
- Inline stylesheet declarations
- Document internal stylesheet declarations
- Standalone stylesheet declarations
- Array of definitions

In addition, it shares the following with HTML_Common based classes:
* Indent style support
* Line ending style
State stable
Information
Top

HTML_Form

Summary Simple HTML form package
Version 1.2.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_Javascript

Summary Provides an interface for creating simple JS scripts.
Version 1.1.0
Description Provides two classes:
HTML_Javascript for performing basic JS operations.
HTML_Javascript_Convert for converting variables
Allow output data to a file, to the standart output(print), or return
State stable
Information
Top

HTML_Menu

Summary Generates HTML menus from multidimensional hashes.
Version 2.1.1
Description With the HTML_Menu class one can easily create and maintain a
navigation structure for websites, configuring it via a multidimensional
hash structure. Different modes for the HTML output are supported.
State stable
Information
Top

HTML_Progress

Summary How to include a loading bar in your XHTML documents quickly and easily.
Version 1.2.0
Description This package provides a way to add a loading bar fully customizable in existing XHTML documents.
Your browser should accept DHTML feature.

Features:
- create horizontal, vertival bar and also circle, ellipse and polygons (square, rectangle)
- allows usage of existing external StyleSheet and/or JavaScript
- all elements (progress, cells, string) are customizable by their html properties
- percent/string is floating all around the progress meter
- compliant with all CSS/XHMTL standards
- integration with all template engines is very easy
- implements Observer design pattern. It is possible to add Listeners
- adds a customizable UI monitor pattern to display a progress bar.
User-end can abort progress at any time.
- Look and feel can be sets by internal API or external config file
- Allows many progress meter on same page without uses of iframe solution
- Since release 1.2.0 you may display new shapes like: circle, ellipse, square and rectangle.
State stable
Information
Top

HTML_QuickForm

Summary The PEAR::HTML_QuickForm package provides methods for creating, validating, processing HTML forms.
Version 3.2.4pl1
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.4
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_Table

Summary PEAR::HTML_Table makes the design of HTML tables easy, flexible, reusable and efficient.
Version 1.5
Description The PEAR::HTML_Table package provides methods for easy and efficient design of HTML tables.
* Lots of customization options.
* Tables can be modified at any time.
* The logic is the same as standard HTML editors.
* Handles col and rowspans.
* PHP code is shorter, easier to read and to maintain.
* Tables options can be reused.
State stable
Information
Top

HTML_Table_Matrix

Summary Autofill a table with data
Version 1.0.7
Description HTML_Table_Matrix is an extension to HTML_Table which allows you to easily fill up a table with data.
Features:
- It uses Filler classes to determine how the data gets filled in the table. With a custom Filler, you can fill data in up, down, forwards, backwards, diagonally, randomly or any other way you like.
- Comes with Fillers to fill left-to-right-top-to-bottom and right-to-left-top-to-bottom.
- Abstract Filler methods keep the code clean & easy to understand.
- Table height or width may be omitted, and it will figure out the correct table size based on the data you provide.
- It integrates handily with Pager to create pleasant pageable table layouts, such as for an image gallery. Just specify a height or width, Filler, and feed it the data returned from Pager.
- Table may be constrained to a specific height or width, and excess data will be ignored.
- Fill offset may be specified, to leave room for a table header, or other elements in the table.
- Fully documented with PHPDoc.
- Includes fully functional example code.
State stable
Information
Top

HTML_Template_IT

Summary Integrated Templates
Version 1.1
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.2
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.3.5
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_Client

Summary Easy way to perform multiple HTTP requests and process their results
Version 1.0.0
Description The HTTP_Client class wraps around HTTP_Request and provides a higher level interface
for performing multiple HTTP requests.

Features:
* Manages cookies and referrers between requests
* Handles HTTP redirection
* Has methods to set default headers and request parameters
* Implements the Subject-Observer design pattern: the base class sends
events to listeners that do the response processing.
State stable
Information
Top

HTTP_Request

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

HTTP_Upload

Summary Easy and secure managment of files submitted via HTML Forms
Version 0.9.1
Description This class provides an advanced file uploader system for file uploads made
from html forms. Features:
* Can handle from one file to multiple files.
* Safe file copying from tmp dir.
* Easy detecting mechanism of valid upload, missing upload or error.
* Gives extensive information about the uploaded file.
* Rename uploaded files in different ways: as it is, safe or unique
* Validate allowed file extensions
* Multiple languages error messages support (es, en, de, fr, it, nl, pt_BR)
State stable
Information
Top

Image_Barcode

Summary Barcode generation
Version 0.5
Description Automatic barcode generation
State stable
Information
Top

Image_Color

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

Log

Summary Logging utilities
Version 1.8.7
Description The Log framework provides an abstracted logging system. It supports logging to console, file, syslog, SQL, Sqlite, mail and mcal targets. It also provides a subject - observer mechanism.
State stable
Information
Top

LZF

Summary LZF compression.
Version 1.3
Description This package handles LZF de/compression.
State stable
Information
Top

Mail

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

Mail_Mime

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

Mail_Queue

Summary Class for put mails in queue and send them later in background.
Version 1.1.3
Description Class to handle mail queue managment.
Wrapper for PEAR::Mail and PEAR::DB (or PEAR::MDB/MDB2).
It can load, save and send saved mails in background
and also backup some mails.

The Mail_Queue class puts mails in a temporary container,
waiting to be fed to the MTA (Mail Transport Agent),
and sends them later (e.g. a certain amount of mails
every few minutes) by crontab or in other way.
State stable
Information
Top

Math_Basex

Summary Simple class for converting base set of numbers with a customizable character base set.
Version 0.3
Description Base X conversion class
State stable
Information
Top

Math_Fibonacci

Summary Package to calculat and manipulate Fibonacci numbers
Version 0.8
Description The Fibonacci series is constructed using the formula:
F(n) = F(n - 1) + F (n - 2),
By convention F(0) = 0, and F(1) = 1.
An alternative formula that uses the Golden Ratio can also be used:
F(n) = (PHI^n - phi^n)/sqrt(5) [Lucas' formula],
where PHI = (1 + sqrt(5))/2 is the Golden Ratio, and
phi = (1 - sqrt(5))/2 is its reciprocal
Requires Math_Integer, and can be used with big integers if the GMP or
the BCMATH libraries are present.
State stable
Information
Top

Math_Integer

Summary Package to represent and manipulate integers
Version 0.8
Description The class Math_Integer can represent integers bigger than the
signed longs that are the default of PHP, if either the GMP or
the BCMATH (bundled with PHP) are present. Otherwise it will fall
back to the internal integer representation.
The Math_IntegerOp class defines operations on Math_Integer objects.
State stable
Information
Top

Math_RPN

Summary Reverse Polish Notation.
Version 1.1.1
Description Change Expression To RPN (Reverse Polish Notation) and evaluate it.
State stable
Information
Top

Math_Stats

Summary Classes to calculate statistical parameters
Version 0.8.5
Description Classes to calculate statistical parameters of numerical arrays
of data. The data can be in a simple numerical array, or in a
cummulative numerical array. A cummulative array, has the value
as the index and the number of repeats as the value for the
array item, e.g. $data = array(3=>4, 2.3=>5, 1.25=>6, 0.5=>3).
Nulls can be rejected, ignored or handled as zero values.
State stable
Information
Top

Math_TrigOp

Summary Supplementary trigonometric functions
Version 1.0
Description Static class with methods that implement supplementary trigonometric,
inverse trigonometric, hyperbolic, and inverse hyperbolic functions.
State stable
Information
Top

MDB

Summary database abstraction layer
Version 1.3.0
Description PEAR MDB is a merge of the PEAR DB and Metabase php database abstraction layers.
It provides a common API for all support RDBMS. The main difference to most
other DB abstraction packages is that MDB goes much further to ensure
portability. Among other things MDB features:
* An OO-style query API
* A DSN (data source name) or array format for specifying database servers
* Datatype abstraction and on demand datatype conversion
* Portable error codes
* Sequential and non sequential row fetching as well as bulk fetching
* Ordered array and associative array for the fetched rows
* Prepare/execute (bind) emulation
* Sequence emulation
* Replace emulation
* Limited Subselect emulation
* Row limit support
* Transactions support
* Large Object support
* Index/Unique support
* Module Framework to load advanced functionality on demand
* Table information interface
* RDBMS management methods (creating, dropping, altering)
* RDBMS independent xml based schema definition management
* Altering of a DB from a changed xml schema
* Reverse engineering of xml schemas from an existing DB (currently only MySQL)
* Full integration into the PEAR Framework
* Wrappers for the PEAR DB and Metabase APIs
* PHPDoc API documentation
Currently supported RDBMS:
MySQL
PostGreSQL
Oracle
Frontbase
Querysim
Interbase/Firebird
MSSQL
State stable
Information
Top

MDB_QueryTool

Summary An OO-interface for easily retrieving and modifying data in a DB.
Version 1.0.0
Description This package is an OO-abstraction to the SQL-Query language, it provides methods such
as setWhere, setOrder, setGroup, setJoin, etc. to easily build queries.
It also provides an easy to learn interface that interacts nicely with HTML-forms using
arrays that contain the column data, that shall be updated/added in a DB.
This package bases on an SQL-Builder which lets you easily build
SQL-Statements and execute them.
NB: this is a PEAR::MDB porting from the original DB_QueryTool
written by Wolfram Kriesing and Paolo Panto (vision:produktion, wk@visionp.de).
State stable
Information
Top

Net_CheckIP

Summary Check the syntax of IPv4 addresses
Version 1.1
Description This package validates IPv4 addresses.
State stable
Information
Top

Net_Curl

Summary Net_Curl provides an OO interface to PHP's cURL extension
Version 0.2
Description Provides an OO interface to PHP's curl extension
State stable
Information
Top

Net_Dict

Summary Interface to the DICT Protocol
Version 1.0.3
Description This class provides a simple API to the DICT Protocol handling all the
network related issues and providing DICT responses in PHP datatypes
to make it easy for a developer to use DICT servers in their programs.
State stable
Information
Top

Net_Dig

Summary The PEAR::Net_Dig class should be a nice, friendly OO interface to the dig command
Version 0.1
Description The PEAR::Net_Dig class should be a nice, friendly OO interface to the dig command
State stable
Information
Top

Net_DNS

Summary Resolver library used to communicate with a DNS server
Version 0.03
Description A resolver library used to communicate with a name server to perform DNS queries, zone transfers, dynamic DNS updates, etc. Creates an object hierarchy from a DNS server's response, which allows you to view all of the information given by the DNS server. It bypasses the system's resolver library and communicates directly with the server.
State stable
Information
Top

Net_Finger

Summary The PEAR::Net_Finger class provides a tool for querying Finger Servers
Version 1.0.0
Description Wrapper class for finger calls.
State stable
Information
Top

Net_FTP

Summary Net_FTP provides an OO interface to the PHP FTP functions plus some additions
Version 1.3.0
Description Net_FTP allows you to communicate with FTP servers in a more comfortable way
than the native FTP functions of PHP do. The class implements everything nativly
supported by PHP and additionally features like recursive up- and downloading,
dircreation and chmodding. It although implements an observer pattern to allow
for example the view of a progress bar.
State stable
Information
Top

Net_Geo

Summary Geographical locations based on Internet address
Version 1.0
Description Obtains geogrphical information based on IP number, domain name,
or AS number. Makes use of CAIDA Net_Geo lookup or locaizer extension.
State stable
Information
Top

Net_Ident

Summary Identification Protocol implementation
Version 1.1.0
Description The PEAR::Net_Ident implements Identification Protocol according
to RFC 1413.
The Identification Protocol (a.k.a., "ident", a.k.a., "the Ident
Protocol") provides a means to determine the identity of a user
of a particular TCP connection. Given a TCP port number pair, it
returns a character string which identifies the owner of that
connection on the server's system.
State stable
Information
Top

Net_IMAP

Summary Provides an implementation of the IMAP protocol
Version 1.0.3
Description Provides an implementation of the IMAP4Rev1 protocol using PEAR's Net_Socket and the optional Auth_SASL class.
State stable
Information
Top

Net_IPv4

Summary IPv4 network calculations and validation
Version 1.2
Description Class used for calculating IPv4 (AF_INET family) address information
such as network as network address, broadcast address, and IP address
validity.
State stable
Information
Top

Net_IPv6

Summary Check and validate IPv6 addresses
Version 1.0.3
Description The class allows you to:
* check if an addresse is an IPv6 addresse
* compress/uncompress IPv6 addresses
* check for an IPv4 compatible ending in an IPv6 adresse
State stable
Information
Top

Net_POP3

Summary Provides a POP3 class to access POP3 server.
Version 1.3.5
Description Provides a POP3 class to access POP3 server. Support all POP3 commands
including UIDL listings, APOP authentication,DIGEST-MD5 and CRAM-MD5 using optional Auth_SASL package
State stable
Information
Top

Net_SMTP

Summary Provides an implementation of the SMTP protocol
Version 1.2.6
Description Provides an implementation of the SMTP protocol using PEAR's Net_Socket class.
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

Net_Whois

Summary The PEAR::Net_Whois class provides a tool to query internet domain name and network number directory services
Version 1.0
Description The PEAR::Net_Whois looks up records in the databases maintained by several Network Information Centers (NICs).
State stable
Information
Top

OLE

Summary Package for reading and writing OLE containers
Version 0.5
Description This package allows reading and writing of OLE (Object Linking and Embedding) files, the format used as container for Excel, Word and other MS file formats.
Documentation for the OLE format can be found at: http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html
State beta
Information
Top

Pager

Summary Data paging class
Version 2.2.7
Description It takes an array of data as input and page it according to various parameters. It also builds links within a specified range, and allows complete customization of the output (it even works with mod_rewrite).
Two operating modes available: "Jumping" and "Sliding" window style.
State stable
Information
Top

Pager_Sliding

Summary Sliding Window Pager.
Version 1.6
Description It takes an array of data as input and page it according to various parameters. It also builds links within a specified range, and allows complete customization of the output (it even works with mod_rewrite). It is compatible with PEAR::Pager's API
State stable
Information
Top

Payment_Clieop

Summary These classes can create a clieop03 file for you which you can send to a Dutch Bank. Ofcourse you need also a Dutch bank account.
Version 0.1.1
Description Clieop03 generation classes
State stable
Information
Top

Payment_DTA

Summary Creates DTA files containing money transaction data (Germany).
Version 1.2.0
Description Payment_DTA provides functions to create DTA files used in Germany to exchange informations about money transactions with banks or online banking programs.
State stable
Information
Top

PEAR_Info

Summary Show Information about your PEAR install and its packages
Version 1.6.0
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

PEAR_PackageFileManager

Summary PEAR_PackageFileManager takes an existing package.xml file and updates it with a new filelist and changelog
Version 1.4.0
Description This package revolutionizes the maintenance of PEAR packages. With a few parameters,
the entire package.xml is automatically updated with a listing of all files in a package.
Features include
- can detect PHP and extension dependencies using PHP_CompatInfo
- reads in an existing package.xml file, and only changes the release/changelog
- a plugin system for retrieving files in a directory. Currently two plugins
exist, one for standard recursive directory content listing, and one that
reads the CVS/Entries files and generates a file listing based on the contents
of a checked out CVS repository
- incredibly flexible options for assigning install roles to files/directories
- ability to ignore any file based on a * ? wildcard-enabled string(s)
- ability to include only files that match a * ? wildcard-enabled string(s)
- ability to manage dependencies
- can output the package.xml in any directory, and read in the package.xml
file from any directory.
- can specify a different name for the package.xml file

As of version 1.2.0, PEAR_PackageFileManager is fully unit tested.
State stable
Information
Top

PhpDocumentor

Summary The phpDocumentor package provides automatic documenting of php api directly from the source.
Version 1.2.3
Description The phpDocumentor tool is a standalone auto-documentor similar to JavaDoc
written in PHP. It differs from PHPDoc in that it is MUCH faster, parses a much
wider range of php files, and comes with many customizations including 11 HTML
templates, windows help file CHM output, PDF output, and XML DocBook peardoc2
output for use with documenting PEAR. In addition, it can do PHPXref source
code highlighting and linking.

Features (short list):
-output in HTML, PDF (directly), CHM (with windows help compiler), XML DocBook
-very fast
-web and command-line interface
-fully customizable output with Smarty-based templates
-recognizes JavaDoc-style documentation with special tags customized for PHP 4
-automatic linking, class inheritance diagrams and intelligent override
-customizable source code highlighting, with phpxref-style cross-referencing
-parses standard README/CHANGELOG/INSTALL/FAQ files and includes them
directly in documentation
-generates a todo list from @todo tags in source
-generates multiple documentation sets based on @access private, @internal and
{@internal} tags
-example php files can be placed directly in documentation with highlighting
and phpxref linking using the @example tag
-linking between external manual and API documentation is possible at the
sub-section level in all output formats
-easily extended for specific documentation needs with Converter
-full documentation of every feature, manual can be generated directly from
the source code with "phpdoc -c makedocs" in any format desired.
-current manual always available at http://www.phpdoc.org/manual.php
-user .ini files can be used to control output, multiple outputs can be
generated at once
State stable
Information
Top

PHPUnit

Summary Regression testing framework for unit tests.
Version 1.2.2
Description PHPUnit is a regression testing framework used by the developer who implements unit tests in PHP. This is the version to be used with PHP 4.
State stable
Information
Top

PHP_Compat

Summary Provides missing functionality for older versions of PHP
Version 1.3.1
Description PHP_Compat provides missing functionality in the form of
Constants and Functions for older versions of PHP.
State stable
Information
Top

Spreadsheet_Excel_Writer

Summary Package for generating Excel spreadsheets
Version 0.9.0
Description Spreadsheet_Excel_Writer was born as a porting of the Spreadsheet::WriteExcel Perl module to PHP.
It allows writing of Excel spreadsheets without the need for COM objects.
It supports formulas, images (BMP) and all kinds of formatting for text and cells.
It currently supports the BIFF5 format (Excel 5.0), so functionality appeared in the latest Excel versions is not yet available.
State beta
Information
Top

SQLite

Summary SQLite database bindings
Version 1.0.3
Description SQLite is a C library that implements an embeddable SQL database engine.
Programs that link with the SQLite library can have SQL database access
without running a separate RDBMS process.
This extension allows you to access SQLite databases from within PHP.
Windows binary for PHP 4.3 is available from:
http://snaps.php.net/win32/PECL_4_3/php_sqlite.dll
**Note that this extension is built into PHP 5 by default**
State stable
Information
Top

Translation

Summary Class for creating multilingual websites.
Version 1.2.6pl1
Description Class allows storing and retrieving all the strings on multilingual site in a database. The class connects to any database using PEAR::DB extension. The object should be created for every page. While creation all the strings connected with specific page and the strings connected with all the pages on the site are loaded into variable, so access to them is quite fast and does not overload database server connection.
State stable
Information
Top

Var_Dump

Summary Provides methods for dumping structured information about a variable.
Version 1.0.2
Description The Var_Dump class is a wrapper for the var_dump function.

The var_dump function displays structured information about expressions that includes its type and value. Arrays are explored recursively with values indented to show structure.

The Var_Dump class captures the output of the var_dump function, by using output control functions, and then uses external renderer classes for displaying the result in various graphical ways :
* Simple text,
* HTML/XHTML text,
* HTML/XHTML table,
* XML,
* ...
State stable
Information
Top

xdebug

Summary Provides functions for function traces and profiling
Version 1.3.2
Description The Xdebug extension helps you debugging your script by providing a lot of
valuable debug information. The debug information that Xdebug can provide
includes the following:

* stack and function traces in error messages with:
o full parameter display for user defined functions
o function name, file name and line indications
o support for member functions
* memory allocation
* protection for infinite recursions

Xdebug also provides:

* profiling information for PHP scripts
* script execution analysis
* capabilities to debug your scripts interactively with a debug client
State stable
Information
Top

XML_Beautifier

Summary Class to format XML documents.
Version 1.1
Description XML_Beautifier will add indentation and linebreaks to you XML files, replace all entities, format your comments and makes your document easier to read. You can influence the way your document is beautified with several options.
State stable
Information
Top

XML_CSSML

Summary The PEAR::XML_CSSML package provides methods for creating cascading style sheets (CSS) from an XML standard called CSSML.
Version 1.1
Description The best way to describe this library is to classify it as a template system for generating cascading style sheets (CSS). It is ideal for storing all of the CSS in a single location and allowing it to be parsed as needed at runtime (or from cache) using both general and browser filters specified in the attribute for the style tags. It can be driven with either the libxslt pear extenstion (part of xmldom) or the xslt extension (part of the sablotron libraries).

My hope is that such a system becomes the standard for the organization of stylesheet information in the future.
State stable
Information
Top

XML_fo2pdf

Summary Converts a xsl-fo file to pdf/ps/pcl/text/etc with the help of apache-fop
Version 0.98
Description Converts a xsl-fo file to pdf/ps/pcl/text/etc with the help of apache-fop
State stable
Information
Top

XML_HTMLSax

Summary A SAX based parser for HTML and other badly formed XML documents
Version 2.1.2
Description XML_HTMLSax is a SAX based XML parser for badly formed XML documents, such as HTML.
The original code base was developed by Alexander Zhukov and published at http://sourceforge.net/projects/phpshelve/. Alexander kindly gave permission to modify the code and license for inclusion in PEAR.

PEAR::XML_HTMLSax provides an API very similar to the native PHP Expat extension, allowing handlers using one to be easily adapted to the other. The key difference is HTMLSax will not break on badly formed XML, allowing it to be used for parsing HTML documents. Otherwise HTMLSax supports all the handlers available from Expat except namespace and external entity handlers. Provides methods for handling XML escapes as well as JSP/ASP opening and close tags.

Version 2 has had it's internals completely overhauled to use a Lexer, delivering performance *approaching* that of the native XML extension, as well as a radically improved, modular design that makes adding further functionality easy.

The public API has remained the same as older versions, except for the set_option() method, the available options having been renamed. Additional options are now also available, which allow HTMLSax to behave almost exactly like the native Expat extension. For example if the contents of XML elements contain linefeeds, tabs and XML entities, HTMLSax can be instructed to trigger additional data handler calls.

A big thanks to Jeff Moore (lead developer of WACT: http://wact.sourceforge.net) who's largely responsible for new design, as well input from other members at Sitepoint's Advanced PHP forums: http://www.sitepointforums.com/showthread.php?threadid=121246.

Thanks also to Marcus Baker (lead developer of SimpleTest: http://www.lastcraft.com/simple_test.php) for sorting out the unit tests.
State stable
Information
Top

XML_image2svg

Summary Image to SVG conversion
Version 0.1
Description The class converts images, such as of the format JPEG, PNG
and GIF to a standalone SVG representation. The image is being encoded
by the PHP native encode_base64() function. You can use it to get back
a complete SVG file, which is based on a predefinded, easy adaptable
template file, or you can take the encoded file as a return value, using
the get() method. Due to the encoding by base64, the SVG files will
increase approx. 30% in size compared to the conventional image.
State stable
Information
Top

XML_NITF

Summary Parse NITF documents.
Version 1.0.1
Description This package provides a NITF XML parser. The parser was designed with NITF version 3.1, but should be forward-compatible when new versions of the NITF DTD are produced. Various methods for accessing the major elements of the document, such as the hedline(s), byline, and lede are provided. This class was originally tested against the Associated Press's (AP) XML data feed.
State stable
Information
Top

XML_Parser

Summary XML parsing class based on PHP's bundled expat
Version 1.2.5
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.
State stable
Information
Top

XML_RPC

Summary PHP implementation of the XML-RPC protocol
Version 1.2.2
Description A PEAR-ified version of Useful Inc's XML-RPC for PHP.

It has support for HTTP/HTTPS transport, proxies and authentication.
State stable
Information
Top

XML_RSS

Summary RSS parser
Version 0.9.2
Description Parser for Resource Description Framework (RDF) Site Summary (RSS)
documents.
State stable
Information
Top

XML_SVG

Summary XML_SVG API
Version 0.0.3
Description This package provides an object-oriented API for building SVG documents.
State stable
Information
Top

XML_Tree

Summary Represent XML data in a tree structure
Version 1.1
Description Allows for the building of XML data structures using a tree
representation, without the need for an extension like DOMXML.
State stable
Information
Top

XML_Util

Summary XML utility class.
Version 1.1.1
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.
State stable
Information
Top

XML_Wddx

Summary Wddx pretty serializer and deserializer
Version 1.0.0
Description XML_Wddx does 2 things:
a) a drop in replacement for the XML_Wddx extension (if it's not built in)
b) produce an editable wddx file (with indenting etc.) and uses CDATA, rather than char tags
This package contains 2 static method:
XML_Wddx:serialize($value)
XML_Wddx:deserialize($value)
should be 90% compatible with wddx_deserialize(), and the deserializer will use wddx_deserialize if it is built in..
No support for recordsets is available at present in the PHP version of the deserializer.
State stable
Information
Top