2017 © Pedro Peláez
 

composer-installer marshaller

Marshaller is a composer installer that copies packages to a configurable location.

image

matthimatiker/marshaller

Marshaller is a composer installer that copies packages to a configurable location.

  • Monday, April 1, 2013
  • by Matthimatiker
  • Repository
  • 1 Watchers
  • 1 Stars
  • 616 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Marshaller

Master: Build Status, (*1)

Marshaller is a composer installer that copies packages to a configurable location., (*2)

Activate the installer

To activate the installer, a package must declare its type as marshaller-asset. Additionally, the installer package matthimatiker/marshaller must be required:, (*3)

{
    "name": "my/package",
    "description": "Package that can be copied to a configured location.",
    "type": "marshaller-asset",
    "require": {
        "matthimatiker/marshaller": "*"
    }
}

Define default installation path

A package that uses the Marshaller installer may define its default installation path. The path is added to the extra configuration., (*4)

The following package uses public/custom as installation path:, (*5)

{
    "name": "my/package",
    "description": "Package that will be copied to public/custom.",
    "type": "marshaller-asset",
    "require": {
        "matthimatiker/marshaller": "*"
    },
    "extra": {
        "installation-path": "public/custom"
    }
}

Overwrite installation path in root package

The root package can overwrite the installation path of all dependencies that are installed via Marshaller., (*6)

To change the path, the new target is added to the installation-paths map, which resides in the extra configuration section:, (*7)

{
    "name": "root/package",
    "description": "Root package that overwrites an installation path.",
    "type": "marshaller-asset",
    "require": {
        "matthimatiker/marshaller": "*"
    },
    "extra": {
        "installation-paths": {
            "my/package": "another/path"
        }
    }
}

The example above enforces the installation of the package my/package into the directory another/path., (*8)

If an required package as well as the root package define an installation path, then the configuration in the root package will be used., (*9)

Fallback behavior

If a package uses the Marshaller installer, but neither itself nor the root package defines an installation path, then the default behavior of Composer will take place and the package will be copied to the vendor directory., (*10)

The Versions

01/04 2013

dev-master

9999999-dev

Marshaller is a composer installer that copies packages to a configurable location.

  Sources   Download

BSD-3-Clause

The Development Requires

composer installer configurable

01/04 2013

0.1.2

0.1.2.0

Marshaller is a composer installer that copies packages to a configurable location.

  Sources   Download

BSD-3-Clause

The Development Requires

composer installer configurable

21/11 2012

0.1.1

0.1.1.0

Marshaller is a composer installer that copies packages to a configurable location.

  Sources   Download

BSD-3-Clause

The Development Requires

composer installer configurable

19/11 2012

0.1.0

0.1.0.0

Installer that copies packages to a custom location.

  Sources   Download

BSD-3-Clause

The Development Requires

composer installer configurable