bk2k / configuration-installer
Configuration Installer
Installs: 13 066
Dependents: 5
Suggesters: 1
Security: 0
Stars: 5
Watchers: 2
Forks: 3
Open Issues: 3
Type:composer-plugin
pkg:composer/bk2k/configuration-installer
Requires
- php: ^7.3 || ^8.0
 - composer-plugin-api: ^1.1 || ^2.0
 
Requires (Dev)
- composer/composer: ^1.10 || ^2.0@dev
 - friendsofphp/php-cs-fixer: ^2.16 || ^3.0@dev
 - overtrue/phplint: ^2.0
 - phpunit/phpunit: ^9.2
 
This package is auto-updated.
Last update: 2025-10-20 23:34:46 UTC
README
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
 
Build your own configuration package
Adapt the composer.json of your configuration package.
- Ensure the type is set to 
project-configuration. - Ensure 
bk2k/configuration-installeris required in any version. 
{
    "type": "project-configuration",
    "require": {
        "bk2k/configuration-installer": "*"
    }
}
Add a manifest to your configuration package root.
The manifest.json file instructs the installer.
- It defines which 
filesshould be copied to your project - It defines which 
gitignoreentries will be added to your projects .gitignore file. 
{
    "files": {
        ".php_cs.dist": ".php_cs.dist"
    },
    "gitignore": [
        "/.php_cs.dist",
        "/.php_cs.cache"
    ]
}