harmony / flex
Harmony Composer plugin
Installs: 580
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 132
Open Issues: 5
Type:composer-plugin
Requires
- php: ^7.1.3
- composer-plugin-api: ^1.0
- ext-dom: *
- ext-json: *
- harmony/sdk: 0.1
- oohology/dotenvwriter: ^1.3
- php-http/guzzle6-adapter: ^2.0
- symfony/dotenv: ^4.2
- symfony/http-foundation: *
- symfony/serializer: *
- symfony/yaml: *
Requires (Dev)
- composer/composer: ^1.0.2
- symfony/phpunit-bridge: ^3.4.19|^4.1.8
- symfony/process: ^2.7|^3.0|^4.0
- symfony/thanks: ^1.1
This package is auto-updated.
Last update: 2020-06-30 17:36:23 UTC
README
Based on Symfony Flex, HarmonyFlex is a Composer plugin allowing the end-user to connect through the HarmonyAPI to manage HarmonyProjects and configuration for extensions, packages, themes and translations.
Custom configurators
copy-from-recipe-if
Configurator
Copies files or directories only if specified package is installed.
This configurator is identical to copy-from-recipe
provided by Symfony Flex.
It is useful to copy only certain files or directories to avoid throwing issues when clearing the cache by example:
{ "copy-from-recipe-if": { "emulienfou/orm-pack": { "src/Entity/": "%SRC_DIR%/Entity" }, "emulienfou/mongodb-pack": { "src/Document/": "%SRC_DIR%/Document" } } }
merge-from-recipe-if
Configurator
Merge content between file in recipe and the one in the project.
Currently, it is not possible to perform an un-merge action!
{ "merge-from-recipe-if": { "emulienfou/orm-pack": { "config/packages/doctrine.yaml": "%CONFIG_DIR%/packages/doctrine.yaml" }, "emulienfou/mongodb-pack": { "config/packages/doctrine_mongodb.yaml": "%CONFIG_DIR%/packages/doctrine_mongodb.yaml" } } }
extensions
Configurator
Internal configurator for packages of type harmony-extension
.
themes
Configurator
Internal configurator for packages of type harmony-theme
.