mattacosta / phd-common
Base types for generating PHP documentation.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mattacosta/phd-common
Requires
- php/phd: @dev
This package is auto-updated.
Last update: 2025-12-13 17:59:57 UTC
README
Base types for generating PHP documentation.
Requirements
Installation
- Add
mattacosta/phd-commonto yourcomposer.jsonfile.
Getting started
-
Get a copy of the PHP manual.
git clone https://github.com/php/doc-base.git phpdoc/doc-basegit clone https://github.com/php/doc-en.git phpdoc/en -
Generate a
.manual.xmlfile.php phpdoc/doc-base/configure.php -
Create a class that extends
Package_IDE_Baseand implements a rendering function. -
Create a script to setup and run the renderer (PEAR usage is unsupported).
You can copy the
scripts/export.phpfile as a basic starting point.Usage:
php scripts/export.php phpdoc/doc-base/.manual.xml