mattacosta / phd-common
Base types for generating PHP documentation.
dev-master
2021-01-13 06:59 UTC
Requires
- php/phd: @dev
This package is auto-updated.
Last update: 2026-03-13 18:31:06 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