After setting up a Magento shop with

composer create-project --repository=https://repo.magento.com/ magento/project-community-edition

I've got a file structure that seems to be identical to the content of magento/magento2-base in the vendor directory. Probably because it is a just copy of those files.

Why does this dependency exist? I guess no code in the vendor directory gets executed, so actually it seems to be useless and wastes disk space. Is it necessary for updates? Would there be any issues if I just delete that folder?

FYI: we have a lot of shops. The redundant vendor directories are an annoying issue already. But magento/magento2-base has 110 MBytes and if it is useless it is irritating much more.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.