pronovix/simple-symlink

This package is abandoned and no longer maintained. No replacement package was suggested.

Simple script that creates symlinks when a Composer event occurs.

Installs: 7 877

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 0

pkg:composer/pronovix/simple-symlink

3.15.1 2023-07-24 14:18 UTC

This package is auto-updated.

Last update: 2023-09-20 13:50:08 UTC


README

Composer script that symlinks files and directories.

Example usage

$ composer require pronovix/simple-symlink
      "extra": {
        "simple-symlinks": {
            ".": "build/web/modules/drupal_module"
        }
    },
     "scripts": {
        "post-install-cmd": [
            "Pronovix\\SimpleSymlink\\ScriptHandler::createSymlinks"
        ],
        "post-update-cmd": [
            "Pronovix\\SimpleSymlink\\ScriptHandler::createSymlinks"
        ]
    }

This ensures that the Composer root project is symlinked to the build/web/modules/drupal_module directory when a package is installed or updated.