Cannot install package using composer in NetBeans
composer-php, netbeans-7, symfony-2.1
Solution
Do you use Windows? Tools -> PHP -> Composer -> Composer: select the composer.phar file!
Then try again.
Problem
I'm using symfony2.1 on XAMPP, with NetBeans 7.3 as the IDE. And I want to install `friendofsymfony/rest-bundle` package by adding these line on require section `"friendsofsymfony/rest-bundle": "0.11.0",` And then I right click on project, then Composer > Update What I get on output window is ``` D:\xampp\php\php.exe C:\ProgramData\Composer\bin\composer --ansi --no-interaction update # This file must be saved with Unix line endings, or cygwin will choke DIR=`dirname "$0"`; DIRECTORY=$(cd "${DIR}" && pwd) if command -v 'cygpath' >/dev/null 2>&1; then DIRECTORY=`cygpath -m $DIRECTORY`; fi PHAR="$(echo $DIRECTORY | sed 's/ /\ /g')/composer.phar" php "${PHAR}" $* Done. ``` And the package is not installed. Am I doing it right? How to install the package correctly using Composer on NetBeans?