PEAR logo

PEAR_PackageFileManager : The Definitive Guide



Why use PEAR_PackageFileManager 1.6.0 or better ?

Features
System Requirements

At the beggining, maintainers should wrote their package xml file by hand. PEAR_PackageFileManager (PFM) 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.

Since first alpha release of PFM 1.6.0, this package can manage the new package.xml 2.0 format introduce with PEAR 1.4.0

The most significant change in PEAR 1.4 was addition of channels, a simple and effective method of distributing application development. PFM 1.6.0 help maintainers to build and manage the new package.xml 2.0 format that it is now simpler to distribute any PHP code project using the PEAR installer than it ever was.

Features

  • manages the new package.xml 2.0 format introduce with PEAR 1.4.0
  • 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.
  • 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.
  • ability to manage maintainers.
  • 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.

System Requirements

Mandatory resources:

  • PHP 4.2.0 or newer.
  • PEAR 1.4.3 or newer.
PEAR_PackageFileManager : The Definitive Guide v 1.6.0 : November 17, 2006