Download the PHP package aydin-hassan/magento-core-mapper without Composer

On this page you can find all versions of the php package aydin-hassan/magento-core-mapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento-core-mapper

THIS TOOL IS DEPRECATED

Use https://github.com/AydinHassan/magento-core-composer-installer instead to manage magento core as a composer dependency

MagentoCoreMapper

Build Status Dependency Status Latest Stable Version Latest Untable Version

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

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.

Installation

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 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.

Composer

Composer type packages are installable using: 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 type packages are installable using: 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.


All versions of magento-core-mapper with dependencies

PHP Build Version
Package Version
Requires symfony/console Version 2.4.*
php Version >=5.3.3
composer/composer Version dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aydin-hassan/magento-core-mapper contains the following files

Loading the files please wait ....