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.
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.
The Event_Dispatcher acts as a notification dispatch table.
It is used to notify other objects of interesting things. This
information is encapsulated in Event_Notification objects. Client
objects register themselves with the Event_Dispatcher as observers of
specific notifications posted by other objects. When an event occurs,
an object posts an appropriate notification to the Event_Dispatcher.
The Event_Dispatcher dispatches a message to each registered
observer, passing the notification as the sole argument.
The FSM package provides a simple class that implements a Finite State Machine.
PEAR::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
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.