composer php - Why does Symfony create a separate vendor folder in my root? -


when install symfony according guide (option 1 composer) creates folder structure expected (and mentioned in guide):

path/to/webroot/     symfony/         app/         src/         vendor/         web/ 

but in root folder creates empty vendor/ folder. in vendor folder there subfolder named composer/.

path/to/webroot/     symfony/     vendor/         composer/ 

both directories empty (no hidden files). 2 questions:

  1. is required folder or kind of bug these folders installed? or may directory composer-specific files?
  2. can delete folder without danger?

that empty folder generated when don't pass target-directory parameter composer:

php composer.phar create-project vendor/project target-directory [version] 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -