php - How to manage sub-packages (just like Laravel does) with composer? -
looking @ composer.json file on laravel/framework on github, realize laravel utilizing replace
property of composer allow user not have install same component twice.
but every sub-package has own git repository on github, , version number matches main package laravel/framework.
so main package , sub-package has same source code on github.
for example: src/illuminate/pagination/
in laravel/framework has same code on illuminate/pagination.
and sub-packages included within main package don't have .gitmodules
.
i'm confusing now... how maintainer sync source code individual sub-package main package? or perhaps sync main package's sub-package git repository of individual sub-packages?
Comments
Post a Comment