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.

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.