so i tried to implement this in phpcr.github.com but it is weird:

this https://github.com/phpcr/phpcr.github.com/blob/master/composer.json lets the templates end up in data/templates of my project folder instead of vendor/... - i don't see any value doing that. i installed phpdocumentor through PEAR, if that matters.

now in the doc file, if i specify the template as relative path, i must run phpdoc as root or get an error about write protection
https://github.com/phpcr/phpcr.github.com/blob/master/doc/config/phpdoc.dist.xml (we discussed that at phpbnl i remember)

this makes a rather bad workflow imho. it would be cool if the composer install could prompt for the root password to install the template in the real location. or at least warn if i should have ran composer as root. or if that is not really doable, we could at least only require to run as root once and afterwards notice that the files need not be copied again as there are no differences.