added db to symfony

This commit is contained in:
Joren de Graaf
2026-07-25 22:06:43 +02:00
parent 11dca5a8e4
commit 919ef80e19
34 changed files with 4210 additions and 9 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
final class HomeController
{
#[Route('/', name: 'app_home', methods: ['GET'])]
public function index(): Response
{
return new Response(
'<h1>Symfony is running in FrankenPHP 🎉</h1>'
);
}
}