2017 © Pedro Peláez
 

composer-plugin dev-linker

A composer plugin to link local working copies of packages

image

far-blue/dev-linker

A composer plugin to link local working copies of packages

  • Thursday, August 6, 2015
  • by far-blue
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7,044 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

Composer dev-linker

A Composer plugin to link local working copies of packages into a project., (*1)

This plugin allows you to override a package definition in composer.json to symlink to a local working copy so you can work on both a project and the packages needed by the project in parallel., (*2)

Providence

This plugin was heavily inspired by the piwi/composer-symlinker plugin. Compared to the composer-symlinker plugin, this plugin:, (*3)

  • Does not try to scan local directories for packages
  • Does not maintain a distinction between symlinks it manages and others you may have created by hand
  • Fixes a number of bugs
  • Handled a number of edge cases the original plugin does not cope with

Usage

To use it, just add it as a dependency in your composer.json:, (*4)

"require": {
    "far-blue/dev-linker": "dev-master"
}

"extra": {
    "dev-linker": {
        "local-packages": {
            "vendor/package1": "/path/to/working/copy",
            "vendor/package2": "/path/to/working/copy"
        }
    }
}

The packages being overridden must be valid (i.e. they would still work if you didn't override them)., (*5)

Note that Composer will only recalculate dependencies when a require or require-dev entry changes. If you wish to switch between a normal package and an overridden package or back again you do need to change the require or require-dev entry for the package before Composer will re-calculate details for it., (*6)

The Versions

06/08 2015

dev-master

9999999-dev

A composer plugin to link local working copies of packages

  Sources   Download

The Requires

  • php >=5.3.2
  • composer-plugin-api 1.*

 

The Development Requires

by Robert Goldsmith

06/08 2015

1.0

1.0.0.0

A composer plugin to link local working copies of packages

  Sources   Download

The Requires

  • php >=5.3.2
  • composer-plugin-api 1.*

 

The Development Requires

by Robert Goldsmith