seppzzz/silverstripe-symlinktask
Composer 安装命令:
composer require seppzzz/silverstripe-symlinktask
包简介
Provides a Silverstripe BuildTask for creating symlinks to exposed resources defined in composer.json files. Useful for environments where command-line access is restricted or unavailable.
README 文档
README
Provides a Silverstripe BuildTask for creating symlinks to exposed resources defined in composer.json files.
This task replicates the functionality of the composer vendor-expose command,
making it useful for environments where command-line access is restricted or unavailable.
Compatibility
| SilverStripe version | Branch |
|---|---|
| 4.x / 5.x | silverstripe-4-5 |
| 6.x | main |
Requirements
SilverStripe ^6 PHP 8.2 or higher
Installation
You can install the module via Composer:
composer require seppzzz/silverstripe-symlinktask
Alternatively, you can download the .zip file from GitHub, extract it, rename the extracted folder to silverstripe-symlinktask,
and copy it to your vendor/seppzzz/ directory.
After installation, run the following command to rebuild your SilverStripe project:
dev/build
Documentation
To create the symlinks, navigate to:
yoursite.com/dev/tasks/CreateSymlinks
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-09-01