commit f1b95d09b98f566cc34c3a6b5040338e4db747e4 Author: github-action[bot] <> Date: Tue Aug 4 01:57:56 2026 +0000 Create Flex endpoint diff --git a/index.json b/index.json new file mode 100644 index 00000000..48eb6717 --- /dev/null +++ b/index.json @@ -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" + } +} diff --git a/symfony.form.7.2.json b/symfony.form.7.2.json new file mode 100644 index 00000000..4789fc14 --- /dev/null +++ b/symfony.form.7.2.json @@ -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" + } + } +} diff --git a/symfony.form.8.2.json b/symfony.form.8.2.json new file mode 100644 index 00000000..f9244cef --- /dev/null +++ b/symfony.form.8.2.json @@ -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" + } + } +} diff --git a/symfony.security-csrf.8.2.json b/symfony.security-csrf.8.2.json new file mode 100644 index 00000000..47c827fe --- /dev/null +++ b/symfony.security-csrf.8.2.json @@ -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" + } + } +}