davidverholen/magento-composer-installer

Composer installer for Magento modules

dev-scrutinizer-patch-2 2015-08-08 09:28 UTC

This package is auto-updated.

Last update: 2024-11-22 00:37:45 UTC


README

Build Status Scrutinizer Code Quality

Supported Types:

magento-module
magento-core

Core Installer

Installation

to Install the Magento Core require magento/core in your composer.json.
Magento will be copied to the Magento root dir (Default: 'magento')

{
    "require": {  
        "davidverholen/magento-composer-installer": "~1",  
        "magento/core": "~1.9"  
    },  
    "extra": {  
        "magento-root-dir": "magento"  
    }  
}

Module Installer

Install a Module

Just require the Modules in your composer.json.

Many composer installable Magento extensions are listed under packages.firegento.com
There is also an example of how to add a composer package directly from a github (or any git) Repository

{
    "repositories": [
        {
            "type": "composer",
            "url": "packages.firegento.com"
        },
        {
            "type": "git",
            "url": "https://github.com/danslo/ApiImport.git"
        }
    ],
    "require": {  
        "davidverholen/magento-composer-installer": "~1",  
        "magento/core": "~1.9",
        "firegento/magesetup": "~2",
        "danslo/api-import": "~1"
    },  
    "extra": {  
        "magento-root-dir": "magento"  
    }  
}