Magento – Install magento via Puppet or Composer

composermagento-1.8

There are several modern ways to install Magento:

  1. Magento as Puppet Module: cmuench/Magento-Vagrant-Puppet-Nginx or bippo/puppet-magento
  2. Magento as Composer Dependency – so you create composer.json in your project and run composer install
  3. Or run composer create-project "kylecannon/magento" -s dev

Probably 2-nd way is more flexible to watch for latest versions. But do we need all dependencies of magento-project (connect20/mage_all_latest) or better just to use archive of the latest release?

Which way to choose?

Best Answer

Depends on your deployment infrastructure.

If you already use Puppet, stay with Puppet.

  1. actually looks like a nice default setup, but not enough usage to find proper support

Actually the most common way is still to have magento inside your project vcs and only use composer to install additional modules.

Related Topic