theseer / phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)
http://phpdox.de
Other
599 stars 121 forks source link

nikic/php-parser dependency error #291

Closed fahadbillah closed 8 years ago

fahadbillah commented 8 years ago

composer require --dev theseer/phpdox=0.9.0 ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, reverting ./composer.json to its original content.

theseer commented 8 years ago

As the error message suggests, this is likely a "minimum stability" issue since there is no stable 3.0 release of PHP-Parser yet.

Again, I strongly advise against mixing project and tool dependencies (read: use composer to install tooling). Simply use the phar distribution of phpDox. If you have phive installed that's as easy as "phive install phpdox".