{
"name": "quartetcom.composer",
"homepage": "https://quartetcom/composer",
"repositories": [
{ "type": "vcs", "url": "https://github.com/quartetcom/repo1" },
{ "type": "vcs", "url": "https://github.com/quartetcom/repo2" },
{ "type": "vcs", "url": "https://github.com/quartetcom/repo3" }
],
"require-all": true
}
satis.json
quartetcom/repo1~3
を使いたい人
再利用したいリポジトリ
quartetcom/repo1
quartetcom/repo2
quartetcom/repo3 $ composer require
+ "repositories": {
+ "quartetcom": {
+ "type": "composer",
+ "url":
"https://quartetcom/composer"
+ }
+ },
composer.json
$ vendor/bin/satis build satis.json web/
Scanning packages
Wrote packages to docs/p2/quartetcom/repo1.json
Wrote packages to docs/p2/quartetcom/repo1~dev.json
…
Writing packages.json
Pruning include directories
Writing web view