composer.json on 3.2 Not Working

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
LaxSlash1993
Registered User
Posts: 182
Joined: Sat Sep 22, 2012 2:20 am

composer.json on 3.2 Not Working

Post by LaxSlash1993 »

Trying to create an extension for 3.2 (first attempt after 3.1).

In laxslash/FLP/composer.json:

Code: Select all

{
	"name": "laxslash/flp",
	"type": "phpbb-extension",
	"description": "FLP Ext Development",
	"homepage": "",
	"version": "0.1 ALPHA",
	"time": "June 11th, 2017",
	"license": "GPL-2.0",
	"authors": [
		{
			"name": "lax.slash",
			"email": "",
			"role": "Lead Developer",
			"homepage": ""
		}
	],
	"require": {
		"php": ">=5.4.0"
	},
	"extra": {
		"display-name": "FLP",
		"soft-require": {
			"phpbb/phpbb": ">=3.2.0"
		}
	}
}

Nothing shows up in the Customize tab of ACP when it's uploaded.

What changed between 3.1 and 3.2? Because I also tried copying a known working composer.json file from a 3.1 extension that I built, and it also did not work.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: composer.json on 3.2 Not Working

Post by _Vinny_ »

Your composer.json works fine for me.

Make sure the extension folder is correct.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: composer.json on 3.2 Not Working

Post by david63 »

LaxSlash1993 wrote: Sun Jun 11, 2017 5:20 am laxslash/FLP/composer.json
Try laxslash/flp/composer.json
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
LaxSlash1993
Registered User
Posts: 182
Joined: Sat Sep 22, 2012 2:20 am

Re: composer.json on 3.2 Not Working

Post by LaxSlash1993 »

david63 wrote: Sun Jun 11, 2017 7:08 am
LaxSlash1993 wrote: Sun Jun 11, 2017 5:20 am laxslash/FLP/composer.json
Try laxslash/flp/composer.json
Lowercase fixed it, thanks.
Post Reply

Return to “Extension Writers Discussion”