phpdocumentor/unified-asset-installer

此包已被废弃且不再维护。没有建议的替代包。

phpDocumentor 资产安装器

安装数: 602,627

依赖者: 10

建议者: 0

安全: 0

星标: 4

关注者: 3

分支: 7

类型:composer-installer

1.1.2 2013-09-09 06:13 UTC

This package is auto-updated.

Last update: 2019-11-22 12:23:02 UTC


README

phpDocumentor 靠模板和插件的具体目录位置。默认情况下,Composer 除了使用 自定义安装器 外,无法在除 /vendor 以外的目录中安装。

此 Composer 自定义安装器将在以下库类型上触发,并为这些库提供自定义行为。

  • phpdocumentor-template,将文件安装到 /data/template 而不是 /vendor

使用方法

为了告诉模板使用此安装器,您需要添加以下 composer.json

{
    "name": "phpdocumentor/template-$NAME$",
    "type": "phpdocumentor-template",
    "license": "MIT"
    "require": {
        "phpdocumentor/unified-asset-installer":"*"
    }
}

类型元素将指示 Composer 使用此自定义安装器。

待办事项

  • 添加 phpdocumentor-plugin 库类型。

常见问题解答

这个名字有什么问题吗?

由于在编写此文档时,Composer 存在一个 错误,名称必须按字母顺序在单词 template 之后。