Composer installer for Opencart

Installs: 266

Dependents: 1

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 2

Open Issues: 3


0.1.0 2014-09-22 04:07 UTC

This package is not auto-updated.

Last update: 2020-09-28 08:02:04 UTC


Oh hi.

This is a simple composer plugin that allows to install opencart in a custom directory.


Opencart is not available through Composer yet (and it also requires custom opencart-core package type to be installed by this installer), so you have to specify it manually as a repository in your composer.json:

"repositories": [
        "type": "package",
        "package": {
            "name": "opencart/opencart",
            "type": "opencart-core",
            "version": "",
            "dist": {
                "url": "",
                "type": "zip"
            "source": {
                "url": "",
                "type": "git",
                "reference": ""

After that you have to require it alongside with etki/opencart-core-installer:

"require": {
    "etki/opencart-core-installer": "~0.1",
    "opencart/opencart": ""

(feel free to use any Opencart version you like)

The last step is to specify install directory in extra section:

"extra": {
    "opencart-install-dir": "src/public"

Now Opencart source code will be placed in src/public folder. Hooray!

Note: if you omit opencart-install-dir extra option, installer will use opencart folder as a default.