bk2k/configuration-installer

Configuration Installer

0.1.1 2020-07-30 20:45 UTC

This package is auto-updated.

Last update: 2021-08-29 02:24:05 UTC


README

Installer for Configuration Packages.

Examples:

Build your own configuration package

Adapt the composer.json of your configuration package.

  1. Ensure the type is set to project-configuration.
  2. 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.

  1. It defines which files should be copied to your project
  2. 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"
    ]
}