drzraf/flexinline

Maintainers

Details

github.com/drzraf/flexinline

Source

Installs: 84

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Type:composer-plugin

v0.3 2021-05-17 20:03 UTC

This package is auto-updated.

Last update: 2024-05-04 19:38:32 UTC


README

Composer plugin for Symfony Flex to use recipes in composer.json

Usage

To use inline recipes add kwivix/flexinline to composer.json of your project.

Create recipes

Inside the composer.json add under extra the key recipe-manifest with a JSON-object. The manifest supports the same flex configurators as the official flex. Except for copy-from-recipe, since it would be identical to copy-from-package.

{
    "name": "example/package",
    "type": "project",
    "extra": {
        "recipe-manifest": {
            "gitignore": [
                ".env"
            ],
            "copy-from-package": {
                "bin/check.php": "%BIN_DIR%/check.php"
            }
        }
    }
}