Plugin upload to store

Hello, 
When we try to upload our plugin to shopware store we got this error message: " the required composer.json file was not found".

Can anybody help? 
Thanks.

So, how should we help? You’re already getting the exact error message?

How does your plugin structure looks like?

If you need to know how the composer.json looks like => https://docs.shopware.com/en/shopware-platform-dev-en/internals/plugins/plugin-information

 

 

 

This is our plugin structure. 

This is composer.json file.
 

{
  "name": "comme/home-icon",
  "description": "Home icon on navigation",
  "type": "shopware-platform-plugin",
  "version": "1.0.1",
  "license": "proprietary",
  "authors": [
      {
          "name": "Commerce Care d.o.o."
      }
  ],
  "autoload": {
    "psr-4": {
      "commeHomeIcon\\": "src/"
    }
  },
  "extra": {
    "shopware-plugin-class": "commeHomeIcon\\commeHomeIcon",
    "label": {
      "de-DE": "Home Icon plugin",
      "en-GB": "Home Icon plugin"
    }
  }
}

 

Hi Harun,
your folder structure should look like this:

  • commeHomeIcon
    • src
      • Resources
      • Subscriber
      • commeHomeIcon.php
    • composer.json

Best regards

2 „Gefällt mir“