Apigen – PHP API Document generator
Usage:
1 |
php apigen.php --source . --destination "./docs" --title "Title" --skip-doc-path "./skip_path" --exclude "path/*" |
If u got a problem about memory limit, just give it memory_limit
parameter:
php -d memory_limit=800M apigen.php
Craft Example:
1 |
php -d memory_limit=800M /Users/zmax/Work/Projects/apigen/apigen.php --source . --destination ./api --title Craft --skip-doc-path "storage/*" --exclude "*/yiilite.php" |
1 |
apigen --source ~/nella/Nella --source ~/doctrine2/lib/Doctrine --source ~/doctrine2/lib/vendor --source ~/nette/Nette --skip-doc-path "~/doctrine2/*" --skip-doc-prefix Nette --exclude "*/tests/*" --destination ~/docs/ --title "Nella Framework" |