thelia / installer
custom installer for Thelia.
Installs: 91 131
Dependents: 316
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:composer-plugin
pkg:composer/thelia/installer
Requires
- composer-plugin-api: ^1.0||^2.0
Requires (Dev)
- composer/composer: 1.0.*@dev||2.0.*@dev
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