Skip to content

Manage the pile of configuration files, which mostly have nothing to do with your application directly, through composer.

License

Notifications You must be signed in to change notification settings

koehnlein/configuration-installer

 
 

Repository files navigation

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

About

Manage the pile of configuration files, which mostly have nothing to do with your application directly, through composer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%