Installer for Configuration Packages.
Examples:
- https://github.com/benjaminkott/config-commitmessage
- https://github.com/benjaminkott/config-typo3-editorconfig
- https://github.com/benjaminkott/config-typo3-stylelint
- https://github.com/benjaminkott/config-typo3-phpcsfixer
Adapt the composer.json
of your configuration package.
- Ensure the type is set to
project-configuration
. - Ensure
bk2k/configuration-installer
is required in any version.
{
"type": "project-configuration",
"require": {
"bk2k/configuration-installer": "*"
}
}
The manifest.json
file instructs the installer.
- It defines which
files
should be copied to your project - It defines which
gitignore
entries will be added to your projects .gitignore file.
{
"files": {
".php_cs.dist": ".php_cs.dist"
},
"gitignore": [
"/.php_cs.dist",
"/.php_cs.cache"
]
}