Difference between #4 and #5 of
how to use github (un)official extension repo in your Yii project

Revision #5 has been created by RusAlex on Oct 2, 2011, 11:47:07 AM with the memo:

small fix
« previous (#4)

Changes

Title unchanged

how to use github (un)official extension repo in your Yii project

Category unchanged

Tips

Yii version unchanged

Tags unchanged

github git extensions

Content changed

[...]
We like to use Yii extensions. But only if they are good.

We are chossing an extension very carefully. If we don't like its code or something else, we don't use it. And last time someone noticed, that we are using only extensions from [(un)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/
[extension name]
~~~

This command will add an extension repository under our project extension folder. And any other extension from github (un)official 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
~~~
[...]
4 0
8 followers
Viewed: 9 467 times
Version: 1.1
Category: Tips
Written by: RusAlex
Last updated by: RusAlex
Created on: Sep 29, 2011
Last updated: 6 years ago
Update Article

Revisions

View all history