I’m not using a fork, it’s my own module wich is an extension for the yii2-user module (or extension, I don’t know the differences between modules and extensions)
Am I doing it wrong and should I just use my own forked extension like you suggest?
Yugene, thanks for the info. The updated article is now here. I am collating all such tips into a searchable site for all. Hope its useful.
Hashie, extension or module is same from composer installation perspective. If its your own module - you can directly put it inside your application folder like in Yii 1.x and use it. But if you want to circulate it or reuse it across multiple installs - you must register it on packagist or your own repository for access through composer.
But if you are using a fork of an extension, the approach as mentioned in this article is recommended, to save all hassles of composer overwriting from the extension source OR you end up registering duplicate extensions on packagist.