drzraf / flexinline
Installs: 118
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Type:composer-plugin
Requires
- php: ^7.1
- composer-plugin-api: ^1.1|^2.0
- symfony/flex: ^1.2
Requires (Dev)
- composer/composer: ^1.8|^2.0
This package is auto-updated.
Last update: 2025-03-27 20:12:02 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" } } } }