AW: [PEAR-DEV] using the PEAR-class for information?

From: Date: Tue, 26 Aug 2003 11:26:39 +0000
Subject: AW: [PEAR-DEV] using the PEAR-class for information?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20544@lists.php.net to get a copy of this message
Hi, > i'm trying to fetch some information about pear, for example which > packages are installed (or the other way round, i wanna know if a given > package is installed). > > i tried looking at PEAR::Info, but that didn't answer me how to query > PEAR for installed packages... > > so is there an easy method to check if a package is installed by > querying a class? i don't want to do a @include to test it, i want a > native answer from pear itself ;-) I think this does what you need: http://pear.php.net/manual/en/core.ppm.pear-registry.php Stephan

« previous php.pear.dev (#20544) next »