Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.
/ flexinline Public archive

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

License

Notifications You must be signed in to change notification settings

kwivix/flexinline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flex Inline

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages