Answer the question
In order to leave comments, you need to log in
How to connect phpDocumentor via composer?
How to connect phpDocumentor via composer to an existing project? How to start? Documentation on this subject is scarce (about composer only here )
And what is especially confusing is that you need to run it through the phpdoc command ( link ): $ phpdoc -d ./src -t ./docs/api
I am familiar with linux command line shells, but there is some confusion in my head. In composer, usually all dependencies are placed in the vendor/ directory. Do I need to manually create bin/ and fill phpdoc.php with what?
And with the launch, where should I go, to the browser? Which address to dial, because I did not pass the -S address: port key. Is it normal that I have so many questions? Help me start using php-doc in my projects.
Answer the question
In order to leave comments, you need to log in
composer.json
{
"require-dev": {
"phpdocumentor/phpdocumentor": "dev-master",
"ext-xsl": "*"
}
"config": {
"bin-dir": "bin"
}
}
$ composer show --platform | grep ext-x
$ composer show --platform | grep ext-xls
$ sudo apt-get install php5-xls
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question