{ "locks": { "symfony/framework-bundle": { "version": "4.4", "recipe": { "repo": "4.4", "branch": "master", "version": "4.4", "ref": "3b9c85f14cad439042f88f94a1fd15fb8ed923c9" } } }, "manifests": { "symfony/framework-bundle": { "repository": "github.com/symfony/recipes", "package": "symfony/framework-bundle", "version": "4.4", "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": "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": "getProjectDir().'/config/bundles.php';\n foreach ($contents as $class => $envs) {\n if ($envs[$this->environment] ?? $envs['all'] ?? false) {\n yield new $class();\n }\n }\n }\n\n public function getProjectDir(): string\n {\n return \\dirname(__DIR__);\n }\n\n protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void\n {\n $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));\n $container->setParameter('container.dumper.inline_class_loader', \\PHP_VERSION_ID < 70400 || $this->debug);\n $container->setParameter('container.dumper.inline_factories', true);\n $confDir = $this->getProjectDir().'/config';\n\n $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');\n $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');\n $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');\n $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');\n }\n\n protected function configureRoutes(RouteCollectionBuilder $routes): void\n {\n $confDir = $this->getProjectDir().'/config';\n\n $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');\n $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');\n $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');\n }\n}\n", "executable": false, "encoding": "" }, "config/bootstrap.php": { "contents": "=1.2)\nif (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env['APP_ENV']) || ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env['APP_ENV']) === $env['APP_ENV'])) {\n (new Dotenv(false))->populate($env);\n} else {\n // load all the .env files\n (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');\n}\n\n$_SERVER += $_ENV;\n$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';\n$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];\n$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';\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": "