Full code refactor to Symfony7.4 with FrankenPHP

Includes significant breaking changes.
Default port and transportation changed to
http via port 80
Names of environment variables have changed.
This commit is contained in:
2025-12-15 12:30:14 -05:00
parent f5a5d63eb7
commit 102b9f3e78
50 changed files with 6228 additions and 826 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
namespace App;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
class Kernel extends BaseKernel {
use MicroKernelTrait;
private PersistCache $persistCache;
public function boot(): void {
parent::boot();
$this->persistCache = $this->container->get(PersistCache::class);
$this->persistCache->boot();
}
public function terminate(Request $request, Response $response): void {
$this->persistCache->persist();
parent::terminate($request, $response);
}
}