opencart-plugins / extension-installer
Custom Composer Installer for installing OpenCart Extensions
Installs: 59
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.1 || ^2.0
Requires (Dev)
- composer/composer: ^1.9 || ^2.0
- phpunit/phpunit: ^9
README
Publish for Composer
Configuration Extras
Example
```
{
"name": "vendor/project-name",
"type": "opencart-extension",
"extra": {
"src-dir" : "src/upload",
"mappings" : [
"catalog/controller/vendor/controller_name.php",
"catalog/model/vendor/other_model.php"
],
"installers" : {
"php" : "src/install.php" ,
"xml" : "src/install.xml"
}
},
"require": {
"opencart-plugins/extension-installer": "*"
}
}
```
Composer Root Project Extras
Example Extras
```
{
"extra": {
"opencart-install-dir": "docroot"
}
}
```