corepos / composer-installer
A composer plugin to install CORE POS plugins
Installs: 1 102
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
Type:composer-plugin
Requires
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
- phpunit/phpunit: ^6.5
This package is auto-updated.
Last update: 2024-12-29 23:56:16 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
.