bk2k/configuration-installer

Configuration Installer

0.1.2 2023-08-07 09:50 UTC

This package is auto-updated.

Last update: 2024-10-20 21:17:17 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"
    ]
}