labor-digital/composer-dev-symlink

Installs: 9 277

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 1

Open Issues: 2

Type:composer-plugin

1.4.2 2021-02-23 20:21 UTC

This package is auto-updated.

Last update: 2024-12-06 19:03:44 UTC


README

This plugin aims to assist when working on local composer packages without using a "path" repository, because that will break the composer.lock file. The goal was to simulate the basic behaviour of "npm link" to create symlinks and have the local packages in deployment in a single directory.

Installation

Simply install this plugin by using composer:

composer require labor-digital/composer-dev-symlink

If you want to install the plugin globally instead, feel free to do so by using:

composer global require labor-digital/composer-dev-symlink

Configuration

By default the plugin will look for packages to link in the directory: $CWD/vendor-dev/. However, if that does not fit your needs you can always change the directory by setting it in your project's composer.json:

{
	"extra": {
		"composer-dev-symlink": "./my-dev/*"
	}
}

To keep in mind

Postcardware

You're free to use this package, but if you use it regularly in your development environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: LABOR.digital - Fischtorplatz 21 - 55116 Mainz, Germany

We publish all received postcards on our company website.