This provides sophisticated dependency handling relationships between installed packages and downloaded to-be-installed packages.
PEAR_DependencyDB