Documentation

Documentation is a critical part of PEAR. Even the most interesting and helpful package will not be used without proper documentation that helps users understand it.

Documentation for a package in PEAR means two things:

  • API documentation that explains all classes, methods and functions a package provides

  • Chapters and paragraphs about the package itself: What the package can be used for, how to use it, and examples.

API documentation is automatically generated after a package has been released on pear.php.net from the code using phpDocumentor.

The second type of documentation needs to be created manually. It is the documentation you see in this very manual below the packages book.

At first you will learn how to obtain and render this manual before going into detail about writing documentation for your own package.

How to support the PEAR community (Previous) Obtaining the manual sources (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

Note by: cweiske
peardoc entities checker:
http://doc.php.net/pear/checkent.php