feat: Initialize Symfony application structure with essential files

- Added index.php for application entry point.
- Created app.css for global styles.
- Introduced HomeController for handling the home route.
- Implemented Kernel class for application kernel.
- Added base.html.twig as the main template.
- Created index.html.twig for the home page layout.
- Set up Docker configurations for development and production environments.
- Included opcache configuration for development.
This commit is contained in:
2026-06-13 09:06:26 -04:00
parent e69b418df9
commit d1e39aee04
36 changed files with 6893 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env php
<?php
use App\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;
if (!is_dir(dirname(__DIR__).'/vendor')) {
throw new LogicException('Dependencies are missing. Try running "composer install".');
}
if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
}
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
return new Application($kernel);
};