Using Pyrus to create PEAR2 packages


Pyrus is particularly well-suited to maintaining a PEAR2 package, and can be used to easily create a package.xml with the make command. Once the requisite files are in place for this command, creating a release is as simple as

php -dphar.readonly=0 pyrus.phar make -pphar,tar,tgz,zip

In addition, Pyrus provides a simple facility for creating a new PEAR2 package, the generate-pear2 command. With this command, a skeleton directory and file setup is created that can be immediately used to get started with a new package.