schmunk, on 05 April 2013 - 06:37 AM, said:
Heya, some words about the current installer for Yii in composer:
http://www.yiiframew...post__p__199279
Sound a bit like a rant, I am sorry

But as layed out in the posting, simply there are glitches.
I'd only distinguish between "yii-extension" and "yii-theme". "yii-module" is not necessary, IMHO.
But getting the right location for a theme, if you've reconfigured it, is a problem from the installer. Let me know if you've a solution for that.
If all rants were as informative as that I take a rant any day
The installers are very basic and the custom functionality you have built is way more powerful than what a plain installer can give. I mostly wrote the Wiki to get a discussion going for a unified solution for Composer and Yii 1.1.x. from looking at the thread you mention it sounds like both you and me are ahead of the Yii dev team when it comes to using Composer.... I don't really care what the end solution will be as long as it is flexible and light enough. A bonus would be if it was very similar to what we will get in Yii2.
When it come to installing to specific folders for each extension is this what you mean?
"extra": {
"installer-paths": {
"protected/extensions2/{$name}/": ["br0sk/yiiron", "anothervendor/anotherextension"],
"protected/modules2/${name}/": ["br0sk/module1", "br0sk/module2"]
}
}
You can find more info about this in my wiki.
On a side note, will defining my extension as type yii-extension break if I try to use the Phundament Composer repository? If so we might have a problem.