Symfony 8 SPA with Doctrine ORM, Symfony Security, vanilla JS frontend. Migrated from plain PHP (delight-im/auth + raw SQL) to full Symfony stack. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
211 B
PHP
8 lines
211 B
PHP
<?php
|
|
require_once __DIR__ . '/vendor/autoload.php';
|
|
|
|
$twig = new \Twig\Environment(
|
|
new \Twig\Loader\FilesystemLoader(__DIR__ . '/templates'),
|
|
['cache' => false]
|
|
);
|
|
echo $twig->render('app.html.twig');
|