thelia/installer
最新稳定版本:1.5
Composer 安装命令:
composer require thelia/installer
包简介
custom installer for Thelia.
README 文档
README
This installer allows you to install module and templates using composer. We created special type for Thelia
You can now create module and submit them on packagist.org
List of special types :
thelia-module=> install your module inlocal/modulethelia-frontoffice-template=> install your template intemplates/frontOfficethelia-backoffice-template=> install your template intemplates/backOfficethelia-email-template=> install your template intemplates/emailthelia-pdf-template=> install your template intemplates/pdf
Example composer.json file
{
"name": "thelia/hooktest-module",
"type": "thelia-module",
"require": {
"thelia/installer": "~1.0"
}
}
This would install your module in local/modules/hookstest-module
You certainly notice that hooktest-module is not a valid name for a Thelia module. In fact packagist.org doesn't allow
package in uppercase. For fixing this, you must use an extra param in your composer.json
{
"name": "thelia/hooktest-module",
"type": "thelia-module",
"require": {
"thelia/installer": "~1.0"
},
"extra": {
"installer-name": "HookTest"
}
}
With this new section, your module will be install now in local/modules/HookTest
统计信息
- 总下载量: 92.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 318
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2014-09-01