Answer the question
In order to leave comments, you need to log in
PhpStorm 6.0+composer+Symfony
Decided to test a new feature of the six-built-in composer. I create a new project, then
Tools->Composer->Init Composer. The composer.json
file opened , so far everything is fine.
Now I'm trying to attach symphony2 to this project. I press Tools->Composer->add dependency...
In the window that opens, I find my favorite symfony/framework-standard-edition , select version 2.2.0, I get
And so for any version.
The question is standard: What Am I Doing Wrong?
php.exe D:\HTTP\composer.phar require symfony/framework-standard-edition:v2.2.0 -n --no-progress
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
- Installation request for symfony/framework-standard-edition v2.2.0 -> satisfiable by symfony/framework-standard-edition v2.2.0.
- symfony/framework-standard-edition v2.2.0 requires doctrine/doctrine-bundle 1.2.* -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting composer.json to its original content.
Answer the question
In order to leave comments, you need to log in
Well, did you follow the link? There in the fourth post the solution of a problem is shown.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question