Reputation: 763
when I install symfony with:
$ composer create-project symfony/framework-standard-edition my_project_name
I cannot have other libraries (e.g. zf2) in my project too. so I have to use composer.json
require {
"symfony/framework-standard-edition" : "~2.6"
}
but it generates framework-standard-edition within vendor folder, and if I want to move /app/, /web/, /src/ to outside of vendor folder manually, there are some files missing like bootstrap.php.cache, so I was forced to install the project separately with
$ composer create-project symfony/framework-standard-edition my_project_name
and move its /app/, /web/, /src/ to the location of first installation above.
how is the easiest installation way with composer.json?
Upvotes: 1
Views: 5635
Reputation: 3961
You'd normally start your project with
$ composer create-project symfony/framework-standard-edition my_project_name
Then edit the generated composer.json with your other dependencies. So Symfony is your base project.
Upvotes: 3