Composer script handling for zipping Files

1.0.4 2020-08-05 12:51 UTC

This package is not auto-updated.

Last update: 2022-06-22 14:26:03 UTC


Composer script handling creation of symlinks inside your composer project.

Note: Symlinks will become files copy when composer is run with --no-dev


Installation can be done as usually using composer. composer require supsign/composer-symlinks


Add the following in your root composer.json file:

"require": {
    "supsign/composer-symlinks": "dev-master"
"scripts": {
    "post-install-cmd": [
    "post-update-cmd": [
"extra": {
    "symlinks": {
        "components": "web/components"

After running either composer install or composer update, components folder will be accessible from your web folder web/components/.

But of course, you have to be careful when making symlinks to a folder which is publicly accessible.