1.1.1 • Published 2 years ago

composer-link-local v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Link local composer packages

composer-link-local is a tool to simplify the process of linking local Composer packages and updating your composer.json file to use the local versions of these packages during development. This can be especially useful for local package development and testing.

How it works

The tool will map your composer.json required deps, let you decide which of those deps you want to link locally, search over 3 (three) layers of directory structure above and below each layer and finally add the link for each dependency that you selected and was founded near the current directory using the "repositories" attribute of your composer.json

  {
    //... composer.json contents

    "repositories": [
      {
        "type": "path",
        "url": "/path/to/you/local/dependecy",
        "options": {
          "symlink": true
        }
      }
    ]

    //... rest of your composer.json
  }

Running

Certify that your are running Node.js at least 16x

npx composer-link-local
1.1.1

2 years ago

1.1.0

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago