PHP7 Symfony4 Phpdocumentor
Есть ли возможность использовать PhpDocumentor в разделе выше / под названием? Когда я пытаюсь установить его с помощью composer, он показывает мне:
$ composer require --dev phpdocumentor/phpdocumentor dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.1.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phpdocumentor/phpdocumentor dev-master -> satisfiable by phpdocumentor/phpdocumentor[dev-master].
- phpdocumentor/phpdocumentor dev-master requires symfony/config ~2.3 -> no matching package found.
Так как это сделать или как документировать код?
0 ответов
Из-за несовместимых внутренних требований phpDocumentor, Composer не может установить как его, так и более новые версии Symfony. Таким образом, команда phpDocumentor рекомендует использовать свой PHAR, а не использовать его из управляемой Composer установки.