Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.05 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.05 KB

Project Configuration Installer

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"
    ]
}