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: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

dev-main 2024-11-25 16:54 UTC

This package is auto-updated.

Last update: 2024-12-25 17:03:25 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.

Requirements

SilverStripe 4 or 5 (tested with 4.13) PHP 7.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