|
Posted by Adam Harvey on 05/19/06 07:58
On Thu, 18 May 2006 06:26:43 -0500, Alan Little wrote:
> On the PEAR site, the page for each package lists other packages that are
> dependent on it. That's nice, but is there way to determine which other
> packages the package itself depends on? It seems to me that would be much
> more useful information. So far, the only way I can see is to load the
> package, see what require()s fail, then try to figure out which packages
> those files belong to. Surely there's a better way?
If you click on the "Download" tab for a PEAR package, it will give you a
changelog for the most recent version, which includes the PEAR
dependencies for that version of the package. For example,
http://pear.php.net/package/Payment_Process/download tells me that the
latest version of Payment_Process depends on Validate, XML_Parser, and
others.
Adam
--
Adam Harvey
To e-mail: don't make an example out of me!
[Back to original message]
|