bk2k / configuration-installer
Configuration Installer
Installs: 10 331
Dependents: 5
Suggesters: 1
Security: 0
Stars: 4
Watchers: 4
Forks: 3
Open Issues: 3
Type:composer-plugin
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: 2024-11-20 21:34:10 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-installer
is 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
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" ] }