kporras07/composer-symlinks
最新稳定版本:v1.3
Composer 安装命令:
composer require kporras07/composer-symlinks
包简介
Composer script handling symlinks
关键字:
README 文档
README
Composer script handling creation of symlinks inside your composer project.
Note: Symlinks will become files copy when composer is run with --no-dev
Installation
Installation can be done as usually using composer.
composer require kporras07/composer-symlinks
Usage
Add the following in your root composer.json file:
"require": { "kporras07/composer-symlinks": "dev-master" }, "scripts": { "post-install-cmd": [ "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks" ], "post-update-cmd": [ "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks" ] }, "extra": { "symlinks": { "components": "web/components" } }
After running either composer install or composer update, components folder will be accessible from your web folder web/components/.
But of course, you have to be careful when making symlinks to a folder which is publicly accessible.
统计信息
- 总下载量: 603.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 10
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-23