php - Project using git put the library/framework in the repository or not? -


i'd know what's best practice using git project using external library/modules/framework. put case deploy project zend 2 , modules instance zfcuser , bjyauthorize should put in repository or not ? when developer clone project framework , modules or not ? in advance.

in case you're using composer manage project dependencies, no need push zf2, zfcuser , bjyauthorize. add composer.json package descriptor , ignore vendor folder push project.

if you're managing dependencies yourself, think can useful push libraries. (that's how did many zf1 projects had embedded libraries).

i urge use composer or tool don't have worry anymore framework / libraries updates.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -