[Dev-Change] composer.json require phpbb/phpbb

Discussion forum for Extension Writers regarding Extension Development.
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling

[Dev-Change] composer.json require phpbb/phpbb

Post by nickvergessen »

Acme/Demo change: https://github.com/nickvergessen/phpbb- ... 0f20a9fd7f

Code: Select all

	"extra": {
		"display-name": "Acme Demo Extension",
		"soft-require": {
			"phpbb/phpbb": "3.1.*@dev"
		}
	}
We moved the phpbb/phpbb version check to the extra section.
The reason behing this is, so we allow using the composer.json to load 3rd party stuff (which is it's job normally) and do not block that, because the package phpbb/phpbb does not exist for composer at the moment.

We are sorry to break all extensions so late in the game (after RC1) but we decided,
that more people/ext authors will benefit from it, then the trouble is to move the section.

If you add dependencies via composer to the autoload will also be automatically loaded (ironic :) ), when you add them to your extension, so you can just use them right away and don't need to set up the class loader yourself.
No Support via PM
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [Dev-Change] composer.json require phpbb/phpbb

Post by PayBas »

Thankfully we're still in RC stage ;)
User avatar
RMcGirr83
Former Team Member
Posts: 22074
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [Dev-Change] composer.json require phpbb/phpbb

Post by RMcGirr83 »

And is exactly the reason I am not converting any of my mods to 3.1 until Gold.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling

Re: [Dev-Change] composer.json require phpbb/phpbb

Post by nickvergessen »

Yes, way to difficult ot change 3 lines...
No Support via PM
User avatar
RMcGirr83
Former Team Member
Posts: 22074
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [Dev-Change] composer.json require phpbb/phpbb

Post by RMcGirr83 »

Has nothing to do with changing three lines has to do with 3.1 constantly changing/getting bug fixed. I don't like doing things more than once. Do you?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺

Return to “Extension Writers Discussion”