PHPackages                             addictedtomagento/magento2-composer-installer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. addictedtomagento/magento2-composer-installer

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

addictedtomagento/magento2-composer-installer
=============================================

Composer installer For Magento 2

1.0.0-alpha01(10y ago)0561MITPHPPHP &gt;=5.5.0

Since Sep 18Pushed 10y ago2 watchersCompare

[ Source](https://github.com/AddictedToMagento/magento2-composer-installer)[ Packagist](https://packagist.org/packages/addictedtomagento/magento2-composer-installer)[ RSS](/packages/addictedtomagento-magento2-composer-installer/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (3)Used By (0)

Magento 2 Composer Installer
============================

[](#magento-2-composer-installer)

[![Build Status](https://camo.githubusercontent.com/f9d0d29e10088b57fedcffc176b0729dd5245f9a2e060cc0502868f2b4d25f86/68747470733a2f2f7472617669732d63692e6f72672f4164646963746564546f4d6167656e746f2f6d6167656e746f322d636f6d706f7365722d696e7374616c6c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AddictedToMagento/magento2-composer-installer)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/56840b2dd33d7efc34cf28a87f329a7cd87c9f5ce63f0e02bc4d6aec2d36f85c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4164646963746564546f4d6167656e746f2f6d6167656e746f322d636f6d706f7365722d696e7374616c6c65722f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/AddictedToMagento/magento2-composer-installer/?branch=develop)

Usage
-----

[](#usage)

In `composer.json` of the component specify:

- `type` - type of Magento 2 component
- `extra/map` - list of files to move and their location relative to the path they will be located in the application

Supported Components
--------------------

[](#supported-components)

### Magento Module

[](#magento-module)

Type: `magento2-module`

Installation location: `app/code`

Example:

```
{
    "name": "magento/module-core",
    "description": "N/A",
    "require": {
        ...
    },
    "type": "magento2-module",
    "extra": {
        "map": [
            [
                "*",
                "Magento/Core"
            ]
        ]
    }
}
```

Final location will be `/app/code/Magento/Core`

### Magento Theme

[](#magento-theme)

Type: `magento2-theme`

Installation location: `app/design`

Example:

```
{
    "name": "magento/theme-frontend-plushe",
    "description": "N/A",
    "require": {
        ...
    },
    "type": "magento2-theme",
    "extra": {
        "map": [
            [
                "*",
                "frontend/Magento/plushe"
            ]
        ]
    }
}
```

Final location will be `/app/design/frontend/Magento/plushe`

### Magento Language Package

[](#magento-language-package)

Type: `magento2-language`

Installation location: `app/i18n`

Example:

```
{
    "name": "magento/language-de_de",
    "description": "German (Germany) language",
    "require": {
        ...
    },
    "type": "magento2-language",
    "extra": {
        "map": [
            [
                "*",
                "Magento/de_DE"
            ]
        ]
    }
}
```

Final location will be `/app/i18n/Magento/de_DE`

### Magento Library

[](#magento-library)

Support for libraries located in `lib/internal` instead of `vendor` directory.

Installation location: `lib/internal`

Type: `magento2-library`

Example:

```
{
    "name": "magento/framework",
    "description": "N/A",
    "require": {
       ...
    },
    "type": "magento2-library",
    "extra": {
        "map": [
            [
                "*",
                "Magento/Framework"
            ]
        ]
    }
}
```

Final location will be `/lib/internal/Magento/Framework`

### Magento Component

[](#magento-component)

Default type, if none is specified.

Installation location: `.` (root directory of the code base)

Type: `magento2-component`

Example:

```
{
    "name": "magento/migration-tool",
    "description": "N/A",
    "require": {
        ...
    },
    "type": "magento2-component",
    "extra": {
        "map": [
            [
                "*",
                "tools/Magento/Migration"
            ]
        ]
    }
}
```

Final location will be `/tools/Magento/Migration`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3942d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c8ae669ad5d4e25d1564b2ee381e86fb88b3d9f132040a1a6b642de43b7a417?d=identicon)[daniel-rose](/maintainers/daniel-rose)

---

Top Contributors

[![daniel-rose](https://avatars.githubusercontent.com/u/489806?v=4)](https://github.com/daniel-rose "daniel-rose (14 commits)")

---

Tags

composer-installermagento2

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/addictedtomagento-magento2-composer-installer/health.svg)

```
[![Health](https://phpackages.com/badges/addictedtomagento-magento2-composer-installer/health.svg)](https://phpackages.com/packages/addictedtomagento-magento2-composer-installer)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.3k](/packages/friendsofphp-php-cs-fixer)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.6k](/packages/symfony-framework-bundle)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
