Files
symfony-flex-recipes/zenstruck.foundry.2.5.json
github-action[bot]andgithub-action[bot] 536f508c22 Update Flex endpoint
2026-03-31 11:35:29 +00:00

56 lines
2.3 KiB
JSON

{
"manifests": {
"zenstruck/foundry": {
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"bundles": {
"Zenstruck\\Foundry\\ZenstruckFoundryBundle": [
"dev",
"test"
]
},
"conflict": {
"doctrine/persistence": "<2.0",
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
"symfony/framework-bundle": "<6.4"
},
"add-lines": [
{
"file": "phpunit.dist.xml",
"content": " <bootstrap class=\"Zenstruck\\Foundry\\PHPUnit\\FoundryExtension\" />",
"position": "after_target",
"target": "<extensions>",
"requires": "phpunit/phpunit:>=10",
"warn_if_missing": false
}
],
"post-install-output": [
" * You're ready to use zenstruck/foundry. Create your first factory with",
" <info>bin/console make:factory</>.",
"",
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html</>"
]
},
"files": {
"config/packages/zenstruck_foundry.yaml": {
"contents": [
"when@dev: &dev",
" # See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration",
" zenstruck_foundry:",
" persistence:",
" # Flush only once per call of `PersistentObjectFactory::create()`",
" flush_once: true",
"",
"when@test: *dev",
""
],
"executable": false
}
},
"ref": "d743d1d64f0cb0c2a0e2973636c6e2955f3697c6"
}
}
}