Hi
I'm trying to upload a new extension package to the Marketplace, but this time it shows me the error "Php require section in composer is empty."
I have tried different variations of composer.json file: initially it was without php requirement, also tried with this, but no luck:
"require": {
    "magento/module-catalog": "~101.0.*",
    "php": "~7.0.*"
  }
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		Hi @Snowcore,
Could you please try the composer file in the following format?
"require": {
  "php": "^7.0",
  "magento/module-catalog": "~101.0.*",
}
Best regards.
Gabriel
It seems like there is a typo in your example, please remove comma from the last requirement.
"magento/module-catalog": "~101.0.*"
I recommend to follow Magento's composer file and include full list of supported PHP versions to avoid any future conflicts.
"php": "~5.6.5|7.0.2|7.0.4|~7.0.6"