elseym/mirror-handler

This package is abandoned and no longer maintained. No replacement package was suggested.

Manages aliased copies of your composer dependencies

1.0.4 2016-09-07 15:40 UTC

This package is not auto-updated.

Last update: 2020-02-21 16:53:14 UTC


README

usage

in your composer.json, require this package:

"require": {
    "elseym/mirror-handler": "~1.0"
}

then add the script hooks:

"scripts": {
    "post-install-cmd": [ "Elseym\\MirrorHandler\\Mirror::handle" ],
    "post-update-cmd": [ "Elseym\\MirrorHandler\\Mirror::handle" ]
}

finally, define which dependencies should be mirrored where:

"extra": {
    "mirror": {
        "vendor23/package-foo": "Library/FooPackage",
        "vendor42/bar-package": "Library/PackageBar"
    }
}

license

Do What The Fuck You Want To Public License (WTFPL)

WTFPL