定制 addictedtomagento/magento2-composer-installer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

addictedtomagento/magento2-composer-installer

最新稳定版本:1.0.0-alpha01

Composer 安装命令:

composer require addictedtomagento/magento2-composer-installer

包简介

Composer installer For Magento 2

README 文档

README

Build Status Scrutinizer Code Quality

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

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 <root>/app/code/Magento/Core

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 <root>/app/design/frontend/Magento/plushe

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 <root>/app/i18n/Magento/de_DE

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 <root>/lib/internal/Magento/Framework

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 <root>/tools/Magento/Migration

统计信息

  • 总下载量: 56
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固