Jerome Ansia Jerome Ansia - 3 years ago 346
PHP Question

Symfony Installation - Could not find package

I'm launching the following command in DOS :

php c:\composer.phar create-project C:\Symfony C:\Users\Jerome\git\XX\XX


I got this error:


Invalid argument exception, could not find package C:\Symfony but all
the files are there.


Here is the screen shot!
Symfony 1

Symfony 2

Answer Source

The command you need is:

php composer.phar create-project symfony/framework-standard-edition C:\Users\Jerome\git\XX\XX 2.1.2

symfony/framework-standard-edition is not a path, it is a package name

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download