如何提供对 Composer 自动生成文档的引用?

How to provide reference to auto-generated documenation from Composer?

我想将文档 link 添加到 composer.json
我知道您可以使用 "homepage" 向网站添加 link,但是是否有任何条目可用于向文档添加 link,例如到一个用 phpDocumentor 创建的?

是的。它可以包含在 support 根级密钥下:

{
    "support": {
        "docs": "http://docs.org",
    }
}

有关 composers.json 架构的更多信息,请访问 getcomposer.org