将phpdocumentor与Symfony3一起使用

将phpdocumentor与Symfony3一起使用,symfony,pear,phpdoc,phpdocumentor2,Symfony,Pear,Phpdoc,Phpdocumentor2,我想与Symfony3一起使用。由于它们之间不兼容,我推荐使用pear安装phpDocumentor 我的buidl.xml这样称呼它 <target name="phpdoc" description="Generate API documentation using PHPDocumentor"> <exec logoutput="true" command="/usr/bin/phpdoc -d ${source} -t ${basedir}/build/api"

我想与Symfony3一起使用。由于它们之间不兼容,我推荐使用pear安装phpDocumentor

我的buidl.xml这样称呼它

<target name="phpdoc" description="Generate API documentation using PHPDocumentor">
    <exec logoutput="true" command="/usr/bin/phpdoc -d ${source} -t ${basedir}/build/api" />
</target>
我的
vendor/
目录中没有
dompdf/
文件夹,因为它不是使用
composer安装的

还有什么我可以用的吗?
有没有办法阻止phpdoc查找composer.json文件并使用项目的
供应商
目录

那可能是个bug。现在,PEAR和Composer的安装可能不可靠。开发团队推荐使用PHAR,至少现在是这样--

为什么不使用Symfony自己的documentor Sami()?它很容易与Symfonythanks@ShahrozeNawaz一起使用,我来看看。不过,我仍然有兴趣了解如何使phpdoc正常工作
MyProject > phpdoc:

 [exec] PHP Warning:  require_once(/home/username/workspace/MyProject/vendor/dompdf/dompdf/dompdf_config.inc.php): failed to open stream: No such file or directory in /usr/share/php/phpDocumentor/src/phpDocumentor/Bootstrap.php on line 178