changed
Title
how to use github(un)officialofficial extension repo in your Yii project
how to use github(un)officialofficial extension repo in your Yii project
Using a git submodule command in your yii project =================================================I'mIm developing a web project foracompanyusing Yiiwith yii framework. Weareusing a git vcs in our development process.WeWe like to useYiiyii extensions. But only if they are good. We are very carefully chossing anextension very carefully.extension, if we need something. If we don't likeitsan extension code or something else,we don'twedon't useit.that extension. And last time someone noticed, that we are using only extensions from[(un)official[official github yii extensions repo](https://github.com/yiiext) . But we still need a solution how to use that repositoires independently from our project ? ~~~ git submodule add https://github.com/yiiext/with-related-behavior ./protected/extensions/ ~~~ This command will add an extension repository under our project extension folder. And any other extension from github(un)officialofficial yii extension repo you can add to your project git repo easy. Then when another coder cloned your repo his extension folders will be empty. He needs to type ~~~ git submodule update --init --recursive ~~~ And then extensions will appear in his repo too. very nice feature. You can read more about it on [Progit](http://progit.org/book/ch6-6.html)