git - Composer: Multiple Packages in one Repo -


i have 1 git-repo modules inside. want use composer include them different projects. there way have them in 1 git repo or need create own git-repo each module?

it question of how conveniently easy want deal single modules.

if able introduce release process grabbing single module shared repository, create zip file it, put zip it's needed composer.json meta data somewhere, host zip via http(s), , make packagist (or local satis repository want use) aware of release... might use 1 single repository.

in other cases, 1 repository per composer package way go.

note can of course "maxinet/random-collection-of-modules" package. , @ later time, if care enough, move parts of module pack out single repository, , re-include in pack composer.

the process of splitting git repository described here: detach (move) subdirectory separate git repository


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -