From 89f29d60c0f94200d8d17380980124bdf507a95c Mon Sep 17 00:00:00 2001 From: DragonSlayer_14 Date: Wed, 10 Jun 2026 21:58:04 +0200 Subject: [PATCH] =?UTF-8?q?Feat:=20Aktualisiert=20Symfony=20auf=20Version?= =?UTF-8?q?=208.1=20und=20passt=20Abh=C3=A4ngigkeiten=20an?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 17 +++++++++++++---- README.md | 2 +- composer.json | 23 ++++++++++++----------- config/bundles.php | 2 ++ config/routes/web_profiler.yaml | 4 ++-- 5 files changed, 30 insertions(+), 18 deletions(-) diff --git a/.env b/.env index 019f478..4a4acd0 100644 --- a/.env +++ b/.env @@ -1,10 +1,19 @@ # Diese Datei enthält sichere Standardwerte für die Entwicklung. # Für lokale Überschreibungen: .env.local erstellen (wird nicht eingecheckt). -APP_ENV=dev -APP_DEBUG=true -APP_SECRET=!ChangeThisToARandomSecret! - ###> symfony/cache ### REDIS_URL=redis://localhost:6379 ###< symfony/cache ### + +###> symfony/framework-bundle ### +APP_ENV=dev +APP_DEBUG=true +APP_SECRET= +APP_SHARE_DIR=var/share +###< symfony/framework-bundle ### + +###> symfony/routing ### +# 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 +###< symfony/routing ### diff --git a/README.md b/README.md index 8773ee9..d1f5ea2 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Symfony 7.2 Projekttemplate mit Podman-Containern für Entwicklung und Produktio | Komponente | Version | |------------|---------| | PHP-FPM | 8.4 | -| Symfony | 7.2 | +| Symfony | 8.1 | | Nginx | 1.27 | | Redis | 8 | diff --git a/composer.json b/composer.json index 6e2b026..907b26d 100644 --- a/composer.json +++ b/composer.json @@ -10,19 +10,20 @@ "ext-ctype": "*", "ext-iconv": "*", "ext-redis": "*", - "symfony/cache": "7.2.*", - "symfony/console": "7.2.*", - "symfony/dotenv": "7.2.*", + "symfony/cache": "8.1.*", + "symfony/console": "8.1.*", + "symfony/dotenv": "8.1.*", "symfony/flex": "^2", - "symfony/framework-bundle": "7.2.*", - "symfony/runtime": "7.2.*", - "symfony/yaml": "7.2.*" + "symfony/framework-bundle": "8.1.*", + "symfony/runtime": "8.1.*", + "symfony/yaml": "8.1.*" }, "require-dev": { - "symfony/debug-bundle": "7.2.*", - "symfony/maker-bundle": "^1.0", - "symfony/profiler-pack": "^1.0", - "symfony/var-dumper": "7.2.*" + "symfony/debug-bundle": "8.1.*", + "symfony/maker-bundle": "^1.67", + "symfony/stopwatch": "8.1.*", + "symfony/var-dumper": "8.1.*", + "symfony/web-profiler-bundle": "8.1.*" }, "config": { "allow-plugins": { @@ -57,7 +58,7 @@ "extra": { "symfony": { "allow-contrib": false, - "require": "7.2.*" + "require": "8.1.*" } } } diff --git a/config/bundles.php b/config/bundles.php index 8cf7bf9..6622c5a 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -4,4 +4,6 @@ return [ Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true], + Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], + Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], ]; diff --git a/config/routes/web_profiler.yaml b/config/routes/web_profiler.yaml index 8d85319..b3b7b4b 100644 --- a/config/routes/web_profiler.yaml +++ b/config/routes/web_profiler.yaml @@ -1,8 +1,8 @@ when@dev: web_profiler_wdt: - resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml' + resource: '@WebProfilerBundle/Resources/config/routing/wdt.php' prefix: /_wdt web_profiler_profiler: - resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml' + resource: '@WebProfilerBundle/Resources/config/routing/profiler.php' prefix: /_profiler