If I install Magento 2 via composer, I end up with a root level folder named update/
This contains the stand-alone updater application.
Where do the updater come from? I know Magento's composer installer copies a lot of stuff out of the
vendor/magento/magento2-base
module, but the update
application isn't in this this folder. In fact, none of the files in the update
application appear anywhere in vendor
folder. (or do they?)
Does anyone know where these files come from, and what puts them on your system when installing Magento via the composer.phar create-project
method?
Best Answer
Full details are in this old article (self link), but here's the high level overview.
When you say
you're telling Composer to download the
magento/project-community-edition
package and drop its contents directly in themy-magento2
folder. In addition to containing thecomposer.json
file with all the Magento 2 packages listed, themagento/project-community-edition
package includes the updated application in a top levelupdate
folder.