/composer-dev-symlink

This composer plugin aims to assist when working on local composer packages without using a "path" repository

Primary LanguagePHPApache License 2.0Apache-2.0

Composer Dev-Symlink

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.