corepos/composer-installer

A composer plugin to install CORE POS plugins

Installs: 1 090

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 2

Type:composer-plugin

3.0.3 2021-09-17 15:41 UTC

This package is auto-updated.

Last update: 2024-03-29 22:10:13 UTC


README

A composer plugin to install CORE-POS plugins in correct directories.

Usage

To create a Lane plugin, use corepos-lane-plugin for the type in your composer.json file. To create an Office plugin use corepos-office-plugin for the type in your composer.json file.

Name Mangling

The installer rewrites package names to translate from composer naming conventions to CORE's. The author/vendor directory layer is omitted and hyphenated names are converted to camelCase.

Ex: gohanman/my-core-plugin will install into a directory named MyCorePlugin.

There are two special cases: if a package's name starts with lane-plugin or office-plugin those words are omitted. So gohanman/lane-plugin-foo-bar will install into a directory named FooBar.