We currently released Onion 0.0.10-alpha, this version introduced a bundle feature, which can install PEAR package dependencies into a vendor directory.
You can define your PEAR package dependencies in package.ini, and run onion.phar -d bundle, onion will install dependencies locally, and root permission is not needed.
Currently, Onion is using bundle command to install Onion's dependencies, and run onion compile command to compile src/, vendor/pear/ and a SPLClassLoader into a phar file.
You can also use Onion to compile your library into a plain library phar file or executable phar file, you can check the script "scripts/compile.sh".
Since Pyrus didn't document much of its PackageXml parser and Channel Discover, and it's not independent component, I wrote a built-in PEAR channel discover and a simple package.xml parser for this, which is pretty fast already. but the channel information is not cached yet. Once the cache stuff is done, this could be more faster than current one.
I've tested many PEAR packages from Symfony, PHPUnit, PHPSpec, most of them works fine, but may have some bugs still, If you encountered, please send an issue on GitHub/Onion repository.
Onion project is hosted on GitHub, patches and feature request are welcomed.
Here is the screenshot: