2017 © Pedro Peláez
 

library magento-core-mapper

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

image

aydin-hassan/magento-core-mapper

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

  • Tuesday, August 25, 2015
  • by AydinHassan
  • Repository
  • 3 Watchers
  • 8 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

THIS TOOL IS DEPRECATED

Use https://github.com/AydinHassan/magento-core-composer-installer instead to manage magento core as a composer dependency, (*1)

MagentoCoreMapper

Build Status Dependency Status Latest Stable Version Latest Untable Version, (*2)

A small library to create modman or composer.json mappings for Magento Core packages, (*3)

Compatibility

This tool works with any version of PHP >= 5.3. It is automatically tested using Travis on version PHP versions 5.3, 5.4, 5.5 & HHVM., (*4)

Installation

Phar

Download, (*5)

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

Make executable, (*6)

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

Move to path location, so you can execute it from anywhere, (*7)

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

You can name the file anything you want, (*8)

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

To run, simple invoke the executable name anywhere, (*9)

mcm --version

Composer

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

Git

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

Runnning Tests

cd MagentoCoreMapper
./vendor/bin/phpunit

Usage

This package supports to types of mappings: Modman & 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., (*10)

Composer

Composer type packages are installable using: magento-core-installer, (*11)

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:, (*12)

./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., (*13)

Modman

Modman type packages are installable using: Modman, (*14)

./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., (*15)

The Versions

25/08 2015

dev-master

9999999-dev

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

  Sources   Download

GPL v2

The Requires

 

The Development Requires

26/01 2014

0.2.5

0.2.5.0

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

  Sources   Download

GPL v2

The Requires

 

The Development Requires

26/01 2014

0.2.4

0.2.4.0

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

  Sources   Download

GPL v2

The Requires

 

The Development Requires

26/01 2014

0.2.3

0.2.3.0

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

  Sources   Download

GPL v2

The Requires

 

The Development Requires

26/01 2014

0.2.2

0.2.2.0

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

  Sources   Download

GPL v2

The Requires

 

The Development Requires

19/01 2014

0.2.1

0.2.1.0

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

  Sources   Download

GPL v2

The Requires

 

The Development Requires

18/01 2014

0.1.1

0.1.1.0

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

  Sources   Download

GPL v2

The Requires

 

The Development Requires

16/01 2014

0.1.0

0.1.0.0

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

  Sources   Download

GPL v2

The Requires

 

The Development Requires