admin admin - 11 months ago 60
PHP Question

How to work composer?


can I use this link to composer:

php composer.phar create-project symfony/framework-standard-edition path/ 2.3.0

but how the composer knows what server to use?

Is project symfony on main server composer?

How can I add own project to composer server?

Answer Source

It uses as repository by default.

If you have open source packages you want to use you should probably put them on Github and register with packagist.

If not, you will have to create private repository using Satis:

Additionally you can also keep local repositories on your filesystem. In composer.json: