Create Flex endpoint

This commit is contained in:
github-action[bot]
2026-08-04 01:57:56 +00:00
commit f1b95d09b9
4 changed files with 115 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{
"aliases": {
"csrf": "symfony/security-csrf",
"form": "symfony/form",
"security-csrf": "symfony/security-csrf",
"securitycsrf": "symfony/security-csrf"
},
"recipes": {
"symfony/form": [
"7.2",
"8.2"
],
"symfony/security-csrf": [
"8.2"
]
},
"recipe-conflicts": [],
"versions": [],
"branch": "main",
"is_contrib": false,
"_links": {
"repository": "github.com/symfony/recipes",
"origin_template": "{package}:{version}@github.com/symfony/recipes:main",
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1554/{package_dotted}.{version}.json",
"recipe_template_relative": "{package_dotted}.{version}.json",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1554/archived/{package_dotted}/{ref}.json",
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
}
}
+31
View File
@@ -0,0 +1,31 @@
{
"manifests": {
"symfony/form": {
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"files": {
"config/packages/csrf.yaml": {
"contents": [
"# Enable stateless CSRF protection for forms and logins/logouts",
"framework:",
" form:",
" csrf_protection:",
" token_id: submit",
"",
" csrf_protection:",
" stateless_token_ids:",
" - submit",
" - authenticate",
" - logout",
""
],
"executable": false
}
},
"ref": "7d86a6723f4a623f59e2bf966b6aad2fc461d36b"
}
}
}
+29
View File
@@ -0,0 +1,29 @@
{
"manifests": {
"symfony/form": {
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"files": {
"config/packages/form.yaml": {
"contents": [
"# Enable stateless CSRF protection for forms",
"framework:",
" form:",
" csrf_protection:",
" token_id: submit",
"",
" csrf_protection:",
" stateless_token_ids:",
" - submit",
""
],
"executable": false
}
},
"ref": "defbe838cb3ec94359b925c04145d703020522d8"
}
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"manifests": {
"symfony/security-csrf": {
"manifest": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"files": {
"config/packages/csrf.yaml": {
"contents": [
"# Enable stateless CSRF protection",
"framework:",
" csrf_protection:",
" stateless_token_ids:",
" - authenticate",
" - logout",
""
],
"executable": false
}
},
"ref": "dad688434f25812c46bef6979f83beb38d15fcc4"
}
}
}