12.1. Introduction

In Chapters 10, “Using PEAR,” and 11, “Important PEAR Packages,” you learned how to use the PEAR installer and how to use some PEAR packages in your code. In this chapter, you learn how to build your own PEAR packages—be it for use internally in your organization or for publishing with an open-source license through the PEAR distribution server.

After you finish reading this chapter, you will have larned how to

  • Write “PEAR-compliant” code

  • Write .phpt regression tests

  • Create a package.xml file for your package

  • Roll a package tarball

  • Propose/register/upload a package on pear.php.net

Get PHP 5 Power Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.