PHPackages                             aydin-hassan/magento-core-mapper - 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. aydin-hassan/magento-core-mapper

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

aydin-hassan/magento-core-mapper
================================

A small library to create modman or composer.json mappings for Magento Core Packages

0.2.5(12y ago)12151GPL V2PHPPHP &gt;=5.3.3

Since Jan 16Pushed 10y ago4 watchersCompare

[ Source](https://github.com/AydinHassan/MagentoCoreMapper)[ Packagist](https://packagist.org/packages/aydin-hassan/magento-core-mapper)[ RSS](/packages/aydin-hassan-magento-core-mapper/feed)WikiDiscussions master Synced yesterday

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

THIS TOOL IS DEPRECATED
=======================

[](#this-tool-is-deprecated)

Use  instead to manage magento core as a composer dependency

MagentoCoreMapper
=================

[](#magentocoremapper)

[![Build Status](https://camo.githubusercontent.com/cb4e63ba014129fd62e176448d9da24b0f27690cb0822eb3340b038c4b3552c9/68747470733a2f2f7472617669732d63692e6f72672f417964696e48617373616e2f4d6167656e746f436f72654d61707065722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/AydinHassan/MagentoCoreMapper)[![Dependency Status](https://camo.githubusercontent.com/0df98ea8757231df0b287921eac3ca61bdb5abc17e36948dfad036405335c7bb/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3532643638653764656331333735326663353030303236382f62616467652e706e67)](https://www.versioneye.com/user/projects/52d68e7dec13752fc5000268)[![Latest Stable Version](https://camo.githubusercontent.com/61e3fd5374ce54a284f522dea34ed5a89b2d0362de89c2d219191decdba34666/68747470733a2f2f706f7365722e707567782e6f72672f617964696e2d68617373616e2f6d6167656e746f2d636f72652d6d61707065722f76657273696f6e2e706e67)](https://packagist.org/packages/aydin-hassan/magento-core-mapper)[![Latest Untable Version](https://camo.githubusercontent.com/4ce04883a7089e3580e5572734547307ee8f1f2dd9085251925d3468cc8f87ee/68747470733a2f2f706f7365722e707567782e6f72672f617964696e2d68617373616e2f6d6167656e746f2d636f72652d6d61707065722f762f756e737461626c652e706e67)](https://packagist.org/packages/aydin-hassan/magento-core-mapper)

A small library to create modman or composer.json mappings for Magento Core packages

Compatibility
-------------

[](#compatibility)

This tool works with any version of PHP &gt;= 5.3. It is automatically tested using Travis on version PHP versions 5.3, 5.4, 5.5 &amp; HHVM.

Installation
------------

[](#installation)

### Phar

[](#phar)

Download

```
wget https://raw.github.com/AydinHassan/MagentoCoreMapper/master/build/mage-core-mapper.phar

```

Make executable

```
chmod +x ./mage-core-mapper.phar

```

Move to path location, so you can execute it from anywhere

```
sudo mv ./mage-core-mapper.phar /usr/local/bin/mage-core-mapper

```

You can name the file anything you want

```
sudo mv ./mage-core-mapper.phar /usr/local/bin/mcm

```

To run, simple invoke the executable name anywhere

```
mcm --version

```

### Composer

[](#composer)

```
composer create-project aydin-hassan/magento-core-mapper:0.1.0
cd magento-core-mapper
./bin/magento-core-mapper

```

### Git

[](#git)

```
git clone https://github.com/AydinHassan/MagentoCoreMapper.git
cd MagentoCoreMapper
composer install
./bin/magento-core-mapper

```

Runnning Tests
--------------

[](#runnning-tests)

```
cd MagentoCoreMapper
./vendor/bin/phpunit

```

Usage
-----

[](#usage)

This package supports to types of mappings: Modman &amp; Composer. Each type has some different pre-requistes: You must first download a Magento Core package from your usual sources and extract it to a folder.

### Composer

[](#composer-1)

Composer type packages are installable using: [magento-core-installer](https://github.com/quafzi/magento-core-installer)

Before you can create `composer.json` mappings you must create a `composer.json` file for the package. You can do this manually or interactively. To create interactively run `composer init` in the package root and answer the questions. Then you can run:

```
./bin/magento-core-mapper generate:composer path-to-magento-package

```

This will modify the `composer.json` file in the root of your Magento package folder and add in the mappings under the `['extra']['map']` key. If mappings alreasy exist then you can use the `-f` flag to force an overwrite.

### Modman

[](#modman)

Modman type packages are installable using: [Modman](https://github.com/colinmollenhour/modman)

```
./bin/magento-core-mapper generate:modman path-to-magento-package

```

This will create a `modman` file in the root of your Magento package folder containing the mappings of all files in the package. If a `modman` file exists you can use the `-f` flag to force an overwrite.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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

Every ~2 days

Total

7

Last Release

4490d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/421c0adaa533effb16310b34396c544663167970aa9eb6940edb6ed1917c963d?d=identicon)[AydinHassan](/maintainers/AydinHassan)

---

Top Contributors

[![AydinHassan](https://avatars.githubusercontent.com/u/2817002?v=4)](https://github.com/AydinHassan "AydinHassan (37 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aydin-hassan-magento-core-mapper/health.svg)

```
[![Health](https://phpackages.com/badges/aydin-hassan-magento-core-mapper/health.svg)](https://phpackages.com/packages/aydin-hassan-magento-core-mapper)
```

###  Alternatives

[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

5953.3M56](/packages/roave-backward-compatibility-check)[ramsey/conventional-commits

A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook action!

1931.2M122](/packages/ramsey-conventional-commits)[friendsofphp/pickle

Installer for PHP extension, supports pecl package or install from src tree directly

1.7k3.3k](/packages/friendsofphp-pickle)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[magento/composer

Magento composer library helps to instantiate Composer application and run composer commands.

317.7M8](/packages/magento-composer)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

4743.5k10](/packages/phel-lang-phel-lang)

PHPackages © 2026

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