phpdocumentor/unified-asset-installer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phpdocumentor/unified-asset-installer

最新稳定版本:1.1.2

Composer 安装命令:

composer require phpdocumentor/unified-asset-installer

包简介

Asset installer for phpDocumentor

README 文档

README

phpDocumentor relies on specific directory locations for templates and plugins. By default Composer is unable to install in a directory other than /vendor except when using a Custom Installer.

This Custom Installer for Composer will trigger on the following library types and provide custom behaviour for those.

  • phpdocumentor-template, install files into /data/template instead of /vendor

Usage

In order to tell a template to use this installer you need to add the following composer.json

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

The type element will instruct Composer to use this Custom Installer.

TODO

  • Add the phpdocumentor-plugin library type as well.

FAQ

What's up with the name?

Due to a bug in Composer at time of writing of this document, the name must be alphabetically LATER than the word template.

统计信息

  • 总下载量: 605.53k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 10
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 3
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-05-08