vansari/composer-symlink
Composer 安装命令:
composer require vansari/composer-symlink
包简介
Creates Symlinks and can be used with your composer in the scripts section
README 文档
README
composer-symlink
Creates Symlinks and can be used with your composer in the scripts section
Installation with composer:
composer require vansari/composer-symlink
Usage
All paths must be relative from the composer.json file.
Relative paths must be group at property "rel" as array
Absolute paths must be group with property name "abs" as array
Your Composer JSON:
{
"require": {
"vansari/composer-symlink": "^1.0"
},
"scripts": {
"post-install-cmd": "tools\\Symlinker::createSymlinks",
"post-update-cmd: "tools\\Symlinker::updateSymlinks"
},
"extra": {
"symlinks": {
"origin": {
"rel": [
"target/subdir"
]
},
"origin2": {
"rel": [
"target1/subdir",
"target2/subdir"
]
},
"file.php": {
"abs":[
"target3/symlinked.php"
]
}
}
}
}
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-07