opencart-plugins/extension-installer

Custom Composer Installer for installing OpenCart Extensions

v1.16.1 2023-03-30 07:34 UTC

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"
    }
}
```