phpDocumentorをインストールする
phpDocumentorをインストールするコマンドは以下の通り。
pear channel-discover pear.phpdoc.org pear install phpdoc/phpDocumentor
でも、たいてい失敗する。その場合は
pear clear-cache
キャッシュクリアしてもう一度実行する。
ちなみにphpdocコマンドを使う前には、事前にpearコマンドが必要だ。
pear phpdoc run -d app/controllers -t doc/controllers