{ "locks": { "symfony/framework-bundle": { "version": "5.1", "recipe": { "repo": "5.1", "branch": "master", "version": "5.1", "ref": "02f54ab08d007f94c4655cd68526500cb8f17451" } } }, "manifests": { "symfony/framework-bundle": { "repository": "github.com/symfony/recipes", "package": "symfony/framework-bundle", "version": "5.1", "manifest": { "bundles": { "Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": [ "all" ] }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/", "public/": "%PUBLIC_DIR%/", "src/": "%SRC_DIR%/" }, "composer-scripts": { "cache:clear": "symfony-cmd", "assets:install %PUBLIC_DIR%": "symfony-cmd" }, "env": { "APP_ENV": "dev", "APP_SECRET": "%generate(secret)%", "#TRUSTED_PROXIES": "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16", "#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'" }, "gitignore": [ "/.env.local", "/.env.local.php", "/.env.*.local", "/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php", "/%PUBLIC_DIR%/bundles/", "/%VAR_DIR%/", "/vendor/" ], "post-install-output": [ " * Run your application:", " 1. Go to the project directory", " 2. Create your code repository with the git init command", " 3. Download the Symfony CLI at https://symfony.com/download to install a development web server", "", " * Read the documentation at https://symfony.com/doc" ] }, "files": { "public/index.php": { "contents": "bootEnv(dirname(__DIR__).'/.env');\n\nif ($_SERVER['APP_DEBUG']) {\n umask(0000);\n\n Debug::enable();\n}\n\nif ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) {\n Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO);\n}\n\nif ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) {\n Request::setTrustedHosts([$trustedHosts]);\n}\n\n$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);\n$request = Request::createFromGlobals();\n$response = $kernel->handle($request);\n$response->send();\n$kernel->terminate($request, $response);\n", "executable": false, "encoding": "" }, "src/Controller/.gitignore": { "contents": "", "executable": false, "encoding": "" }, "src/Kernel.php": { "contents": "import('../config/{packages}/*.yaml');\n $container->import('../config/{packages}/'.$this->environment.'/*.yaml');\n\n if (is_file(\\dirname(__DIR__).'/config/services.yaml')) {\n $container->import('../config/services.yaml');\n $container->import('../config/{services}_'.$this->environment.'.yaml');\n } elseif (is_file($path = \\dirname(__DIR__).'/config/services.php')) {\n (require $path)($container->withPath($path), $this);\n }\n }\n\n protected function configureRoutes(RoutingConfigurator $routes): void\n {\n $routes->import('../config/{routes}/'.$this->environment.'/*.yaml');\n $routes->import('../config/{routes}/*.yaml');\n\n if (is_file(\\dirname(__DIR__).'/config/routes.yaml')) {\n $routes->import('../config/routes.yaml');\n } elseif (is_file($path = \\dirname(__DIR__).'/config/routes.php')) {\n (require $path)($routes->withPath($path), $this);\n }\n }\n}\n", "executable": false, "encoding": "" }, "config/routes/dev/framework.yaml": { "contents": "_errors:\n resource: '@FrameworkBundle/Resources/config/routing/errors.xml'\n prefix: /_error\n", "executable": false, "encoding": "" }, "config/preload.php": { "contents": "