diff --git a/symfony/routing/6.2/config/packages/routing.yaml b/symfony/routing/6.2/config/packages/routing.yaml new file mode 100644 index 00000000..4b766ce5 --- /dev/null +++ b/symfony/routing/6.2/config/packages/routing.yaml @@ -0,0 +1,12 @@ +framework: + router: + utf8: true + + # Configure how to generate URLs in non-HTTP contexts, such as CLI commands. + # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands + #default_uri: http://localhost + +when@prod: + framework: + router: + strict_requirements: null diff --git a/symfony/routing/6.2/config/routes.yaml b/symfony/routing/6.2/config/routes.yaml new file mode 100644 index 00000000..e7a952b0 --- /dev/null +++ b/symfony/routing/6.2/config/routes.yaml @@ -0,0 +1,3 @@ +controllers: + resource: ../src/Controller/ + type: attribute@App\Controller diff --git a/symfony/routing/6.2/manifest.json b/symfony/routing/6.2/manifest.json new file mode 100644 index 00000000..db102603 --- /dev/null +++ b/symfony/routing/6.2/manifest.json @@ -0,0 +1,9 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["router"], + "conflict": { + "symfony/framework-bundle": "<6.2" + } +}