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.

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

dev-main 2025-07-08 10:56 UTC

This package is auto-updated.

Last update: 2025-07-08 10:56:39 UTC


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