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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.