This extension uses libgearman library to provide API for
communicating with gearmand, and writing clients and workers.
Allow definition of user defined constants in simple ini files,
which are then processed like internal constants, without any
of the usual performance penalties.
TheHTML_Common2 package provides methods for HTML code display and
attributes handling.
* Provides methods to set, remove, merge HTML attributes.
* Handles global document options (charset, linebreak and more).
* Provides methods to handle indentation and HTML comments.
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
You can use Console_Color::convert to transform colorcodes like %r into ANSI
control codes. print Console_Color::convert("%rHello World!%n"); would print
"Hello World" in red, for example.
Console_CommandLine is a full featured package for managing command-line
options and arguments highly inspired from python optparse module, it allows
the developer to easily build complex command line interfaces.
Main features:
* handles sub commands (ie. $ myscript.php -q subcommand -f file),
* can be completely built from an xml definition file,
* generate --help and --version options automatically,
* can be completely customized,
* builtin support for i18n,
* and much more...
PEAR::Console_Getargs 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.
PHP classes providing methods such as addRow(), insertRow(), addCol(), etc.
to build Console tables.
Can be with or without headers, and has various configurable options.
PEAR 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.
Date_Holidays helps you calculating the dates and titles of holidays
and other special celebrations. The calculation is driver-based so
it is easy to add new drivers that calculate a country's holidays.
The methods of the class can be used to get a holiday's date and
title in various languages.