phpdocumentor/unified-asset-installer

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

Asset installer for phpDocumentor

Maintainers

👁 mvriel
👁 jaapio

Package info

github.com/phpDocumentor/UnifiedAssetInstaller

Homepage

Type:composer-installer

pkg:composer/phpdocumentor/unified-asset-installer

Statistics

Installs: 607 432

Dependents: 10

Suggesters: 0

Stars: 4

1.1.2 2013-09-09 06:13 UTC

Requires

  • composer-plugin-api: 1.0.0

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 241fb036268cd9da7d76da3db66e3eda66259c52

assetsinstallerpluginstemplates

This package is auto-updated.

Last update: 2019-11-22 12:23:02 UTC


README

phpDocumentor relies on specific directory locations for templates and plugins. By default Composer is unable to install in a directory other than /vendor except when using a Custom Installer.

This Custom Installer for Composer will trigger on the following library types and provide custom behaviour for those.

  • phpdocumentor-template, install files into /data/template instead of /vendor

Usage

In order to tell a template to use this installer you need to add the following composer.json

{
 "name": "phpdocumentor/template-$NAME$",
 "type": "phpdocumentor-template",
 "license": "MIT"
 "require": {
 "phpdocumentor/unified-asset-installer":"*"
 }
}

The type element will instruct Composer to use this Custom Installer.

TODO

  • Add the phpdocumentor-plugin library type as well.

FAQ

What's up with the name?

Due to a bug in Composer at time of writing of this document, the name must be alphabetically LATER than the word template.