composerのinstall

VCSを指定する。

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/igorw/monolog"
        }
    ],
    "require": {
        "monolog/monolog": "dev-bugfix"
    }
}

https://getcomposer.org/doc/05-repositories.md#vcs

suggestをinstallする

$ composer suggests | xargs -I{} composer require {}

or

$ composer global suggests | xargs -I{} composer global require {}

依存関係

shallow clone

gitをcloneをshallowでやるPRはキャッシュの機構が出来たことで、閉じられたようだ。