# Installation von Extensions via Composer funktioniert nicht

**URL:** https://forum.shopware.com/t/installation-von-extensions-via-composer-funktioniert-nicht/102725
**Category:** Installation / Einstieg
**Created:** [29. Januar 2024 um 09:24 UTC](https://forum.shopware.com/t/installation-von-extensions-via-composer-funktioniert-nicht/102725 "2024-01-29T09:24:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![art2media](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/art2media/32/22881_2.png) [@art2media](https://forum.shopware.com/u/art2media)
#### Post date: [29. Januar 2024 um 09:24 UTC](https://forum.shopware.com/t/installation-von-extensions-via-composer-funktioniert-nicht/102725/1 "2024-01-29T09:24:55Z")

</div>

Hallo,

ich folge derzeit [diesem Guide](https://developer.shopware.com/docs/guides/hosting/installation-updates/extension-managment.html#installing-extensions-with-composer), um Extensions via Composer zu installieren.

Das klappt auch soweit, aber der Symlink von der Extension im Vendor-Verzeichnis zu custom/plugins scheint nicht erstellt zu werden. Bevor ich etwas kaputt mache:

Kann/muss ich diesen manuell erstellen? Sollte Composer doch eigentlich automatisch machen?

Ich hab das hier noch gefunden: [Cluster Setup | Shopware Documentation](https://developer.shopware.com/docs/guides/hosting/installation-updates/cluster-setup.html#composer-plugin-loader)

Muss das auch lokal gemacht werden? Dann sollte der Guide (erster Link) ergänzt werden.

Composer Version: 2.6.6

composer.json:

```auto
{
  "license": "proprietary",
  "type": "project",
  "require": {
    "composer-runtime-api": "^2.0",
    "frosh/devenv-meta": "^0.2.0",
    "shopware/administration": "*",
    "shopware/core": "v6.5.8.2",
    "shopware/elasticsearch": "*",
    "shopware/storefront": "*",
    "store.shopware.com/molliepayments": "^4.4", // Diese Erweiterung soll installiert werden.
    "symfony/flex": "~2"
  },
  "repositories": {
    "shopware-packages": {
      "type": "composer",
      "url": "https://packages.shopware.com"
    },
    "0": {
      "type": "path",
      "url": "custom/plugins/*",
      "options": {
        "symlink": true
      }
    },
    "1": {
      "type": "path",
      "url": "custom/plugins/*/packages/*",
      "options": {
        "symlink": true
      }
    },
    "2": {
      "type": "path",
      "url": "custom/static-plugins/*",
      "options": {
        "symlink": true
      }
    }
  },
  "minimum-stability": "RC",
  "prefer-stable": true,
  "config": {
    "allow-plugins": {
      "symfony/flex": true,
      "symfony/runtime": true
    },
    "optimize-autoloader": true,
    "sort-packages": true
  },
  "scripts": {
    "auto-scripts": {
      "assets:install": "symfony-cmd"
    },
    "post-install-cmd": [
      "@auto-scripts"
    ],
    "post-update-cmd": [
      "@auto-scripts"
    ]
  },
  "extra": {
    "symfony": {
      "allow-contrib": true,
      "endpoint": [
        "https://raw.githubusercontent.com/shopware/recipes/flex/main/index.json",
        "flex://defaults"
      ]
    }
  },
  "require-dev": {
    "shopware/dev-tools": "^1.3"
  }
}

```

---

<div class="post-metadata">

### Author: ![art2media](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/art2media/32/22881_2.png) [@art2media](https://forum.shopware.com/u/art2media)
#### Post date: [29. Januar 2024 um 11:08 UTC](https://forum.shopware.com/t/installation-von-extensions-via-composer-funktioniert-nicht/102725/2 "2024-01-29T11:08:27Z")

</div>

```auto
bin/console plugin:install --activate <name>

```

Das hat gefehlt. Guide muss angepasst werden, ich reiche einen Pull Request ein.
