Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/labor-digital/composer-dev-symlink
This composer plugin aims to assist when working on local composer packages without using a "path" repository
https://github.com/labor-digital/composer-dev-symlink
composer composer-dev-symlink symlinks
Last synced: about 1 month ago
JSON representation
This composer plugin aims to assist when working on local composer packages without using a "path" repository
- Host: GitHub
- URL: https://github.com/labor-digital/composer-dev-symlink
- Owner: labor-digital
- License: apache-2.0
- Created: 2020-02-15T10:43:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T18:49:48.000Z (about 2 months ago)
- Last Synced: 2024-11-16T14:13:52.494Z (about 2 months ago)
- Topics: composer, composer-dev-symlink, symlinks
- Language: PHP
- Size: 72.3 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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:
```json
{
"extra": {
"composer-dev-symlink": "./my-dev/*"
}
}
```## To keep in mind
* This plugin is installed globally in our [php dev images](https://github.com/labor-digital/docker-base-images)
* There are plenty of other plugins that aim to do the same stuff, but did not work as globally installed plugin or broke the composer.lock file.
* https://github.com/franzliedke/studio/issues/89
* https://github.com/DHager/composer-haydn
* https://github.com/Letudiant/composer-shared-package-plugin/pull/21## 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](https://labor.digital).