View more context



The vendor-module should be very concise, and not contain silverstripe-, so it would by mycompany/concise-name, and that would make it install in to vendor/mycompany/concise-name


Your repo can still be silverstripe-several-words-very-long though


@Firesphere thanks. I will try to shorten the module name then.


For those wondering: installer-name is something specific to "type": "silverstripe-module", and is not a general composer command (afaik). This is also what installed the dependencies into the project root, instead of the vendor directory. This no longer applies with SS4 using "type": "silverstripe-vendormodule" - this puts things in normal PSR-4 style (in vendor - i.e. does nothing special with the install) and exists more for vendor-expose support.


But, a reminder that the packagist vendor/module-name format doesn't have to mirror the repository address (e.g. on github). Furthermore there is the replace composer config directive which one can use to rename their modules (c.f. friendsofsilverstripe becoming bringyourownideas:

Show 1 attachment(s)

Helps with the day by day work to run a SilverStripe application or website. - bringyourownideas/silverstripe-maintenance

Hide attachment content

That moment you find what you're looking for in the docs, but then it just says TODO..