addictedtomagento/magento2-composer-installer
最新稳定版本:1.0.0-alpha01
Composer 安装命令:
composer require addictedtomagento/magento2-composer-installer
包简介
Composer installer For Magento 2
README 文档
README
Usage
In composer.json of the component specify:
type- type of Magento 2 componentextra/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
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-14