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
pkg:composer/startpl/t2cms-composer
Requires
- composer-plugin-api: ^1.0 || ^2.0
Requires (Dev)
- composer/composer: 1.6.* || 2.0.*@dev
This package is auto-updated.
Last update: 2025-10-14 22:00:54 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