# Which tools are used by shopware to detect the errors in composer.json?

**URL:** https://forum.shopware.com/t/which-tools-are-used-by-shopware-to-detect-the-errors-in-composer-json/64266
**Category:** Programming (EN)
**Created:** [27. Januar 2020 um 07:38 UTC](https://forum.shopware.com/t/which-tools-are-used-by-shopware-to-detect-the-errors-in-composer-json/64266 "2020-01-27T07:38:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![abinjohnedamana](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/abinjohnedamana/32/17378_2.png) [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)
#### Post date: [27. Januar 2020 um 07:38 UTC](https://forum.shopware.com/t/which-tools-are-used-by-shopware-to-detect-the-errors-in-composer-json/64266/1 "2020-01-27T07:38:46Z")

</div>

Hi&nbsp;

I got some errors when I am submitting my plugin for code review

Basic plugin analysis failed.  
the composer.json file is invalid, Context: [reason: [require] The property require is required

I have checked the code with PHPstan And Sonarqube but these errors are not showing.

Which tools are used by shopware to detect the errors in composer.json?

---

<div class="post-metadata">

### Author: ![gwen](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gwen](https://forum.shopware.com/u/gwen)
#### Post date: [6. Februar 2020 um 16:30 UTC](https://forum.shopware.com/t/which-tools-are-used-by-shopware-to-detect-the-errors-in-composer-json/64266/2 "2020-02-06T16:30:08Z")

</div>

I have the similar problem, that called&nbsp;

```
**Basic plugin analysis failed.** the required composer.json file was not found, Context: [reason: The essential composer.json file for the plugin was not in the expected folder.

```

but my composer.json is in root. And it works in shopware.

How looks your composer Syntax?

---

<div class="post-metadata">

### Author: ![abinjohnedamana](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/abinjohnedamana/32/17378_2.png) [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)
#### Post date: [7. Februar 2020 um 04:07 UTC](https://forum.shopware.com/t/which-tools-are-used-by-shopware-to-detect-the-errors-in-composer-json/64266/3 "2020-02-07T04:07:22Z")

</div>

> [@gwen schrieb:](https://forum.shopware.com/profile/29918/gwen "gwen")
> 
> Please check
> 
> [https://docs.shopware.com/en/plugin-standard-for-community-store#the-required-composer-json-file-was-not-found](https://docs.shopware.com/en/plugin-standard-for-community-store#the-required-composer-json-file-was-not-found)

---

<div class="post-metadata">

### Author: ![abinjohnedamana](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/abinjohnedamana/32/17378_2.png) [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)
#### Post date: [19. Februar 2020 um 07:29 UTC](https://forum.shopware.com/t/which-tools-are-used-by-shopware-to-detect-the-errors-in-composer-json/64266/4 "2020-02-19T07:29:39Z")

</div>

I have fixed this issue by adding

&nbsp;

&nbsp; &nbsp; “require”: {  
&nbsp; &nbsp; &nbsp; &nbsp; “shopware/core”: “^6.0”,  
&nbsp; &nbsp; &nbsp; &nbsp; “shopware/storefront”: “^6.0”,  
&nbsp; &nbsp; &nbsp; &nbsp; “shopware/administration”: “^6.0”  
&nbsp; &nbsp; }, in&nbsp;composer.json file

---

<div class="post-metadata">

### Author: ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)
#### Post date: [19. Februar 2020 um 07:33 UTC](https://forum.shopware.com/t/which-tools-are-used-by-shopware-to-detect-the-errors-in-composer-json/64266/5 "2020-02-19T07:33:10Z")

</div>

Hey,

you can also use&nbsp;[https://github.com/FriendsOfShopware/FroshPluginUploader/](https://github.com/FriendsOfShopware/FroshPluginUploader/)&nbsp;to check that
