phpDocumentor – Could not open input file: phpdoc

If you try to use PHP Documentor and encounter thw error

phpDocumentor – Could not open input file: phpdoc

run the command with php as prefix, example:

php .\vendor\phpdocumentor\phpdocumentor\bin\phpdoc -d .\srcĀ -t .\docs\