PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Using Pyrus to create PEAR2 packages

Introduction

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.

PEAR Manual