dsv/bundle-installer 问题修复 & 功能扩展

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

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

dsv/bundle-installer

最新稳定版本:v1.1.0

Composer 安装命令:

composer require dsv/bundle-installer

包简介

Codeigniter-Bundle installers for Composer

README 文档

README

This is for Codeigniter package authors to require in their composer.json. It will install their package to the correct location based on the specified package type.

Current Supported Package Types:

  • attire-theme
  • codeigniter-theme
  • codeigniter-bundle
  • codeigniter-module

Check Composer Installers for other supported types.

Usage

To use, simply add the package-typeto your package and require the dsv/bundle-installer package in your composer.json file, like so:

{
	"name": "vendor/package",
	"type": "<package-type>",
	"require": {
		"dsv/bundle-installer": "*"
	}
}

Custom Install Names

If you're a package author and need your package to be named differently when installed consider using the installer-name extra.

For example you have a package named shama/foo with the type codeigniter-bundle. Installing with composer/installers would install to the path application/bundles/foo. Due to the strict naming conventions, you as a package author actually need the package to be named and installed to FooBundle. Using the following config within your package composer.json will allow this:

{
    "name": "shama/foo",
    "type": "<supported-type>",
    "extra": {
        "installer-name": "Fighters"
    }
}

Please note the name entered into installer-name will be the final and will not be inflected.

统计信息

  • 总下载量: 206
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-13