Pyrus provides the means to install and manage installations for packages built using package.xml version 2.0 or newer. Pyrus is redesigned from the ground up for PHP 5.3 or newer, and provides significant improvements over the older PEAR Installer.

To use Pyrus, you can download pyrus.phar from the PEAR2 website, and execute it from the command line: $ php pyrus.phar install PEAR2_Templates_Savant-alpha

You can also install PEAR2_Pyrus to access the API for installing and managing packages. Once installed, a convenience script is available from the command line. $ pyrus install PEAR2_Templates_Savant-alpha

For more information, view the documentation at:

Release Notes - 2.0.0a3


  • Add object for interacting with installed packages [saltybeagle]
  • Auto-channel discovery for channels off web root [saltybeagle]
  • Improve missing package error message when no channel name is provided [saltybeagle]
  • Support auto-discovery for dependencies on unknown channels [saltybeagle]
  • Use setSchema for xsd validation, min libxml version 2.6.20 [boekkooi]

Bug Fixes/Refactoring: - Correct exit status codes [saltybeagle] - Check if config options are set before re-setting during install [boekkooi] - Load custom roles installed outside the phar [boekkooi] - Added customsystemvars to the Replace task [boekkooi] - RecursiveIteratorIterator returns path twice when in phar [boekkooi] - Refactor AtomicFileTransaction [boekkooi]

Initial pyrus public API



$ php pyrus.phar install PEAR2_Pyrus
Status: 2.0.0a3 alpha, released on March 27, 2011
License: New BSD License

Release History

2.0.0a3 alpha March 27, 2011
2.0.0a2 alpha January 8, 2011
2.0.0a1 alpha June 10, 2010

Browse Files

2637 files in 615 directories.