PEAR_Info obtains and displays information about your current PEAR Install. The PEAR_Info page features an A-Z index for easy searching, aswell as anchors for each package in the form of pkg_Package_Name (i.e. url.tld/pearinfo.php#pkg_PEAR_Info) PEAR_Info also features a full 'PEAR Credits' page, with information about the authors of the packages you currently have installed. PEAR_Info will also display any later versions that are available from PEAR to help keep you up to date.
Example 54-1. Using PEAR_Info
|
The output may be customized by passing one or more of the following constants bitwise values summed together in the optional options hash parameter. One can also combine the respective constants or bitwise values together with the or operator.
Table 54-1. General page options
Name | Value | Description |
---|---|---|
PEAR_INFO_GENERAL | 1 | The configuration file location, PEAR logo and current install version. |
PEAR_INFO_CREDITS | 2 | A link to PEAR Credits page. See also PEAR_INFO_CREDITS_* constants. |
PEAR_INFO_CONFIGURATION | 4 | All PEAR settings (keys and values). |
PEAR_INFO_CHANNELS | 8 | List available channels |
PEAR_INFO_PACKAGES | 4080 | All package informations. See all others PEAR_INFO_PACKAGES_* constants. |
PEAR_INFO_PACKAGES_CHANNEL | 2048 | Show the package channel |
PEAR_INFO_PACKAGES_SUMMARY | 1024 | A short description of the package |
PEAR_INFO_PACKAGES_VERSION | 512 | Package version with state and release date. |
PEAR_INFO_PACKAGES_LICENSE | 256 | License of the package release |
PEAR_INFO_PACKAGES_DESCRIPTION | 128 | A long description of the package |
PEAR_INFO_PACKAGES_DEPENDENCIES | 64 | Show package dependency list |
PEAR_INFO_PACKAGES_XML | 32 | Tell what PEAR packager and package xml version (1.0 or 2.0) was used to build and install the package. |
PEAR_INFO_PACKAGES_UPDATE | 16 | Show the latest version available. Displayed only if different than current install version. |
PEAR_INFO_ALL | 4095 | Shows all of the above. This is the default value. |
Table 54-2. Credits page options
Name | Value | Description |
---|---|---|
PEAR_INFO_CREDITS_ALL | 61440 | All credits informations. See all others PEAR_INFO_CREDITS_* constants. |
PEAR_INFO_CREDITS_GROUP | 4096 | Show PEAR Group members list |
PEAR_INFO_CREDITS_DOCS | 8192 | Show PEAR Documentation Team list |
PEAR_INFO_CREDITS_WEBSITE | 16384 | Show PEAR Website Team list |
PEAR_INFO_CREDITS_PACKAGES | 32768 | Show authors (and roles) of package maintainers |
Table 54-3. Common options
Name | Value | Description |
---|---|---|
PEAR_INFO_FULLPAGE | 65536 | Indicates that a complete stand-alone HTML page needs to be printed including the information indicated by the other flags. This is the default value. |
Example 54-2. Customize PEAR_Info output
|