Library that allows to import php documentation into Confluence via rest api
Designed to work with PhpDocumentator xml output and PhpUnit testdox html files.
Different documentation/build artifact exporters are also considered.
- Confluence API OO wrapper
- XML to page data converter
- Wiki renderer
- Page exporter
- CLI interface
php doc2confluence.php [command] [args]
commands:
export phpdoc
-s --source : source xml file generated by PhpDocumentor
-c --credentials : username:password - Confluence user credentials that has access to desired space
-S --space : space key to which pages need to be imported
-h --host : Confluence instance url
-p --parent : identifier of the parent page, if not provided, pages will be created in space root
export testdox
-s --source : source file generated by Phpunit
-c --credentials : username:password - Confluence user credentials that has access to desired space
-S --space : space key to which page need to be imported
-h --host : Confluence instance url
-p --parent : identifier of the parent page, if not provided, pages will be created in space root