C
C
codemania2017-08-24 11:51:28
PHP
codemania, 2017-08-24 11:51:28

What is wrong with phpDocumentator?

Installed via composer
Error:
gkLG7w-jfuA.jpg
Full size image: https://pp.userapi.com/c638117/v638117084/6ca7a/gk...
The command php composer.phar phpdoc -Vworks and shows the version. But the command php composer.phar phpdoc -hgives the same error as in the picture.
And I still don’t understand why he writes that he didn’t find composer.json in this folder. In the folder from which I ran the command, it definitely is, or it is necessary that the folder in which the dock is generated lies in the same directory where conposer.json

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Korobkov, 2017-08-24
@BorisKorobkov

With this, the php composer.phar phpdoc -V command works and shows the version.

It shows the composer version. This has nothing to do with phpdoc.
How to install phpdoc - RTFM https://www.phpdoc.org/docs/latest/getting-started...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question