startpl/t2cms-composer

The composer plugin for t2cms extension installer

Installs: 36

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:composer-plugin

1.0.0 2020-09-14 10:03 UTC

This package is auto-updated.

Last update: 2024-03-14 18:15:16 UTC


README

The composer plugin for t2cms extension installer

This is for T2CMS package authors to require in their composer.json. It will install their package to the correct location based on the specified package type.

Current Supported Package Types

Types Path Description
t2cms-module cms/modules The module
t2cms-theme cms/themes The application theme

Example composer.json File

This is an example for a module. The only important parts to set in your composer.json file are "type": "t2cms-module" which describes what your package tells composer to load the custom installers.

{
    "name": "your/module-name",
    "type": "t2cms-module"
}

This would install your package to the cms/modules/ folder when a user require your module