I installed wamp server and a copy of the Symfony2 framework. I am trying to create a Bundle, using the following command:
php app/console generate:bundle --nam
For newer versions of Symfony (2.4.x or newer) use this method on windows to resolve the problem:
"symfony/console": "2.4.*@dev"
. And save the file.php path/to/composer.phar install
. Remember you should be in your project's directory and path/to/composer.phar is the actual path to your composer.phar file.php bin/console generate:bundle --namespace=Test/PrintBundle --format=yml