Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Manages aliased copies of your composer dependencies

License

Notifications You must be signed in to change notification settings

elseym/composer-mirror-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer Mirror Handler

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

About

Manages aliased copies of your composer dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages