mirror of
https://github.com/symfony/recipes.git
synced 2026-03-23 23:32:10 +01:00
Create Flex endpoint
This commit is contained in:
89
index.json
Normal file
89
index.json
Normal file
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"aliases": {
|
||||
"encore": "symfony/webpack-encore-bundle",
|
||||
"framework-bundle": "symfony/framework-bundle",
|
||||
"frameworkbundle": "symfony/framework-bundle",
|
||||
"symfonycasts_sass": "symfonycasts/sass-bundle",
|
||||
"tailwind": "symfonycasts/tailwind-bundle",
|
||||
"tailwindcss": "symfonycasts/tailwind-bundle",
|
||||
"ux": "symfony/webpack-encore-bundle",
|
||||
"webpack": "symfony/webpack-encore-bundle",
|
||||
"webpack-encore": "symfony/webpack-encore-bundle",
|
||||
"webpack-encore-bundle": "symfony/webpack-encore-bundle",
|
||||
"webpackencore": "symfony/webpack-encore-bundle",
|
||||
"webpackencorebundle": "symfony/webpack-encore-bundle"
|
||||
},
|
||||
"recipes": {
|
||||
"symfony/framework-bundle": [
|
||||
"3.3",
|
||||
"3.4",
|
||||
"4.2",
|
||||
"4.4",
|
||||
"5.1",
|
||||
"5.2",
|
||||
"5.3",
|
||||
"5.4",
|
||||
"6.2",
|
||||
"6.4",
|
||||
"7.0",
|
||||
"7.2",
|
||||
"7.3",
|
||||
"7.4",
|
||||
"8.0"
|
||||
],
|
||||
"symfony/webpack-encore-bundle": [
|
||||
"1.0",
|
||||
"1.6",
|
||||
"1.9",
|
||||
"1.10",
|
||||
"1.17",
|
||||
"2.0",
|
||||
"2.1"
|
||||
],
|
||||
"symfonycasts/sass-bundle": [
|
||||
"0.5",
|
||||
"0.6"
|
||||
],
|
||||
"symfonycasts/tailwind-bundle": [
|
||||
"0.8",
|
||||
"0.9"
|
||||
]
|
||||
},
|
||||
"recipe-conflicts": {
|
||||
"symfony/webpack-encore-bundle": {
|
||||
"1.10": {
|
||||
"symfony/framework-bundle": "<5.4"
|
||||
},
|
||||
"1.17": {
|
||||
"symfony/framework-bundle": "<5.4"
|
||||
},
|
||||
"2.0": {
|
||||
"symfony/flex": "<1.20.0 || >=2.0.0,<2.3.0",
|
||||
"symfony/framework-bundle": "<5.4"
|
||||
},
|
||||
"2.1": {
|
||||
"symfony/flex": "<1.20.0 || >=2.0.0,<2.3.0",
|
||||
"symfony/framework-bundle": "<5.4"
|
||||
}
|
||||
},
|
||||
"symfonycasts/sass-bundle": {
|
||||
"0.5": {
|
||||
"symfony/asset-mapper": "<6.3"
|
||||
},
|
||||
"0.6": {
|
||||
"symfony/asset-mapper": "<6.3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": [],
|
||||
"branch": "main",
|
||||
"is_contrib": false,
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes:main",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1474/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1474/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
304
symfony.framework-bundle.3.3.json
Normal file
304
symfony.framework-bundle.3.3.json
Normal file
@@ -0,0 +1,304 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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.1,127.0.0.2",
|
||||
"#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'"
|
||||
},
|
||||
"gitignore": [
|
||||
"/.env.local",
|
||||
"/.env.local.php",
|
||||
"/.env.*.local",
|
||||
"/%PUBLIC_DIR%/bundles/",
|
||||
"/%VAR_DIR%/",
|
||||
"/vendor/"
|
||||
],
|
||||
"post-install-output": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server,",
|
||||
" or run <comment>composer require server --dev</> for a minimalist one",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (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'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" $path = dirname(__DIR__).'/.env';",
|
||||
" $dotenv = new Dotenv(false);",
|
||||
"",
|
||||
" // load all the .env files",
|
||||
" if (method_exists($dotenv, 'loadEnv')) {",
|
||||
" $dotenv->loadEnv($path);",
|
||||
" } else {",
|
||||
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
|
||||
"",
|
||||
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
|
||||
" $dotenv->load($path);",
|
||||
" } else {",
|
||||
" $dotenv->load($p);",
|
||||
" }",
|
||||
"",
|
||||
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
|
||||
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
|
||||
" }",
|
||||
"",
|
||||
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
|
||||
" $dotenv->load($p);",
|
||||
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
|
||||
" }",
|
||||
"",
|
||||
" if (file_exists($p = \"$path.$env\")) {",
|
||||
" $dotenv->load($p);",
|
||||
" }",
|
||||
"",
|
||||
" if (file_exists($p = \"$path.$env.local\")) {",
|
||||
" $dotenv->load($p);",
|
||||
" }",
|
||||
" }",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
" public: false # Allows optimizing the container by removing unused services; this also means",
|
||||
" # fetching services directly from the container via $container->get() won't work.",
|
||||
" # The best practice is to be explicit about your dependencies anyway.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/*'",
|
||||
" exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"use Symfony\\Component\\Debug\\Debug;",
|
||||
"use Symfony\\Component\\HttpFoundation\\Request;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"",
|
||||
"if ($_SERVER['APP_DEBUG']) {",
|
||||
" umask(0000);",
|
||||
"",
|
||||
" Debug::enable();",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) {",
|
||||
" Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO);",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) {",
|
||||
" Request::setTrustedHosts([$trustedHosts]);",
|
||||
"}",
|
||||
"",
|
||||
"$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);",
|
||||
"$request = Request::createFromGlobals();",
|
||||
"$response = $kernel->handle($request);",
|
||||
"$response->send();",
|
||||
"$kernel->terminate($request, $response);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
|
||||
"use Symfony\\Component\\Config\\Resource\\FileResource;",
|
||||
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
|
||||
"",
|
||||
" public function getCacheDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/cache/'.$this->environment;",
|
||||
" }",
|
||||
"",
|
||||
" public function getLogDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/log';",
|
||||
" }",
|
||||
"",
|
||||
" public function registerBundles()",
|
||||
" {",
|
||||
" $contents = require $this->getProjectDir().'/config/bundles.php';",
|
||||
" foreach ($contents as $class => $envs) {",
|
||||
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
|
||||
" yield new $class();",
|
||||
" }",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)",
|
||||
" {",
|
||||
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
|
||||
" // Feel free to remove the \"container.autowiring.strict_mode\" parameter",
|
||||
" // if you are using symfony/dependency-injection 4.0+ as it's the default behavior",
|
||||
" $container->setParameter('container.autowiring.strict_mode', true);",
|
||||
" $container->setParameter('container.dumper.inline_class_loader', true);",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RouteCollectionBuilder $routes)",
|
||||
" {",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "6b7854b4c2866b32bc86e98977e2ead4669fa9a5"
|
||||
}
|
||||
}
|
||||
}
|
||||
305
symfony.framework-bundle.3.4.json
Normal file
305
symfony.framework-bundle.3.4.json
Normal file
@@ -0,0 +1,305 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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.1,127.0.0.2",
|
||||
"#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'"
|
||||
},
|
||||
"gitignore": [
|
||||
"/.env.local",
|
||||
"/.env.local.php",
|
||||
"/.env.*.local",
|
||||
"/%PUBLIC_DIR%/bundles/",
|
||||
"/%VAR_DIR%/",
|
||||
"/vendor/"
|
||||
],
|
||||
"post-install-output": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server,",
|
||||
" or run <comment>composer require server --dev</> for a minimalist one",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (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'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" $path = dirname(__DIR__).'/.env';",
|
||||
" $dotenv = new Dotenv(false);",
|
||||
"",
|
||||
" // load all the .env files",
|
||||
" if (method_exists($dotenv, 'loadEnv')) {",
|
||||
" $dotenv->loadEnv($path);",
|
||||
" } else {",
|
||||
" // fallback code in case your Dotenv component is not 4.2 or higher (when loadEnv() was added)",
|
||||
"",
|
||||
" if (file_exists($path) || !file_exists($p = \"$path.dist\")) {",
|
||||
" $dotenv->load($path);",
|
||||
" } else {",
|
||||
" $dotenv->load($p);",
|
||||
" }",
|
||||
"",
|
||||
" if (null === $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) {",
|
||||
" $dotenv->populate(array('APP_ENV' => $env = 'dev'));",
|
||||
" }",
|
||||
"",
|
||||
" if ('test' !== $env && file_exists($p = \"$path.local\")) {",
|
||||
" $dotenv->load($p);",
|
||||
" $env = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? $env;",
|
||||
" }",
|
||||
"",
|
||||
" if (file_exists($p = \"$path.$env\")) {",
|
||||
" $dotenv->load($p);",
|
||||
" }",
|
||||
"",
|
||||
" if (file_exists($p = \"$path.$env.local\")) {",
|
||||
" $dotenv->load($p);",
|
||||
" }",
|
||||
" }",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_samesite: lax",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
" public: false # Allows optimizing the container by removing unused services; this also means",
|
||||
" # fetching services directly from the container via $container->get() won't work.",
|
||||
" # The best practice is to be explicit about your dependencies anyway.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/*'",
|
||||
" exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"use Symfony\\Component\\Debug\\Debug;",
|
||||
"use Symfony\\Component\\HttpFoundation\\Request;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"",
|
||||
"if ($_SERVER['APP_DEBUG']) {",
|
||||
" umask(0000);",
|
||||
"",
|
||||
" Debug::enable();",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) {",
|
||||
" Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO);",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) {",
|
||||
" Request::setTrustedHosts([$trustedHosts]);",
|
||||
"}",
|
||||
"",
|
||||
"$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);",
|
||||
"$request = Request::createFromGlobals();",
|
||||
"$response = $kernel->handle($request);",
|
||||
"$response->send();",
|
||||
"$kernel->terminate($request, $response);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
|
||||
"use Symfony\\Component\\Config\\Resource\\FileResource;",
|
||||
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
|
||||
"",
|
||||
" public function getCacheDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/cache/'.$this->environment;",
|
||||
" }",
|
||||
"",
|
||||
" public function getLogDir()",
|
||||
" {",
|
||||
" return $this->getProjectDir().'/var/log';",
|
||||
" }",
|
||||
"",
|
||||
" public function registerBundles()",
|
||||
" {",
|
||||
" $contents = require $this->getProjectDir().'/config/bundles.php';",
|
||||
" foreach ($contents as $class => $envs) {",
|
||||
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
|
||||
" yield new $class();",
|
||||
" }",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)",
|
||||
" {",
|
||||
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
|
||||
" // Feel free to remove the \"container.autowiring.strict_mode\" parameter",
|
||||
" // if you are using symfony/dependency-injection 4.0+ as it's the default behavior",
|
||||
" $container->setParameter('container.autowiring.strict_mode', true);",
|
||||
" $container->setParameter('container.dumper.inline_class_loader', true);",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RouteCollectionBuilder $routes)",
|
||||
" {",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4e582450c27d790227d2596a2ffb514fd71d5db7"
|
||||
}
|
||||
}
|
||||
}
|
||||
267
symfony.framework-bundle.4.2.json
Normal file
267
symfony.framework-bundle.4.2.json
Normal file
@@ -0,0 +1,267 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (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'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/*'",
|
||||
" exclude: '../src/{DependencyInjection,Entity,Kernel.php}'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"use Symfony\\Component\\Debug\\Debug;",
|
||||
"use Symfony\\Component\\HttpFoundation\\Request;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"",
|
||||
"if ($_SERVER['APP_DEBUG']) {",
|
||||
" umask(0000);",
|
||||
"",
|
||||
" Debug::enable();",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) {",
|
||||
" Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO);",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) {",
|
||||
" Request::setTrustedHosts([$trustedHosts]);",
|
||||
"}",
|
||||
"",
|
||||
"$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);",
|
||||
"$request = Request::createFromGlobals();",
|
||||
"$response = $kernel->handle($request);",
|
||||
"$response->send();",
|
||||
"$kernel->terminate($request, $response);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
|
||||
"use Symfony\\Component\\Config\\Resource\\FileResource;",
|
||||
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" private const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
|
||||
"",
|
||||
" public function registerBundles(): iterable",
|
||||
" {",
|
||||
" $contents = require $this->getProjectDir().'/config/bundles.php';",
|
||||
" foreach ($contents as $class => $envs) {",
|
||||
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
|
||||
" yield new $class();",
|
||||
" }",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" public function getProjectDir(): string",
|
||||
" {",
|
||||
" return \\dirname(__DIR__);",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void",
|
||||
" {",
|
||||
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
|
||||
" $container->setParameter('container.dumper.inline_class_loader', \\PHP_VERSION_ID < 70400 || $this->debug);",
|
||||
" $container->setParameter('container.dumper.inline_factories', true);",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RouteCollectionBuilder $routes): void",
|
||||
" {",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "95b4ddc6f93f433727cf62c0549b0f987d8c3bc2"
|
||||
}
|
||||
}
|
||||
}
|
||||
294
symfony.framework-bundle.4.4.json
Normal file
294
symfony.framework-bundle.4.4.json
Normal file
@@ -0,0 +1,294 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/bootstrap.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"if (!class_exists(Dotenv::class)) {",
|
||||
" throw new LogicException('Please run \"composer require symfony/dotenv\" to load the \".env\" files configuring the application.');",
|
||||
"}",
|
||||
"",
|
||||
"// Load cached env vars if the .env.local.php file exists",
|
||||
"// Run \"composer dump-env prod\" to create it (requires symfony/flex >=1.2)",
|
||||
"if (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'])) {",
|
||||
" (new Dotenv(false))->populate($env);",
|
||||
"} else {",
|
||||
" // load all the .env files",
|
||||
" (new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');",
|
||||
"}",
|
||||
"",
|
||||
"$_SERVER += $_ENV;",
|
||||
"$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';",
|
||||
"$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];",
|
||||
"$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/srcApp_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"use Symfony\\Component\\ErrorHandler\\Debug;",
|
||||
"use Symfony\\Component\\HttpFoundation\\Request;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/config/bootstrap.php';",
|
||||
"",
|
||||
"if ($_SERVER['APP_DEBUG']) {",
|
||||
" umask(0000);",
|
||||
"",
|
||||
" Debug::enable();",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) {",
|
||||
" Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO);",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) {",
|
||||
" Request::setTrustedHosts([$trustedHosts]);",
|
||||
"}",
|
||||
"",
|
||||
"$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);",
|
||||
"$request = Request::createFromGlobals();",
|
||||
"$response = $kernel->handle($request);",
|
||||
"$response->send();",
|
||||
"$kernel->terminate($request, $response);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
|
||||
"use Symfony\\Component\\Config\\Resource\\FileResource;",
|
||||
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" private const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
|
||||
"",
|
||||
" public function registerBundles(): iterable",
|
||||
" {",
|
||||
" $contents = require $this->getProjectDir().'/config/bundles.php';",
|
||||
" foreach ($contents as $class => $envs) {",
|
||||
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
|
||||
" yield new $class();",
|
||||
" }",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" public function getProjectDir(): string",
|
||||
" {",
|
||||
" return \\dirname(__DIR__);",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void",
|
||||
" {",
|
||||
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
|
||||
" $container->setParameter('container.dumper.inline_class_loader', \\PHP_VERSION_ID < 70400 || $this->debug);",
|
||||
" $container->setParameter('container.dumper.inline_factories', true);",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
|
||||
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RouteCollectionBuilder $routes): void",
|
||||
" {",
|
||||
" $confDir = $this->getProjectDir().'/config';",
|
||||
"",
|
||||
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "24eb45d1355810154890460e6a05c0ca27318fe7"
|
||||
}
|
||||
}
|
||||
}
|
||||
248
symfony.framework-bundle.5.1.json
Normal file
248
symfony.framework-bundle.5.1.json
Normal file
@@ -0,0 +1,248 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"use Symfony\\Component\\ErrorHandler\\Debug;",
|
||||
"use Symfony\\Component\\HttpFoundation\\Request;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"",
|
||||
"if ($_SERVER['APP_DEBUG']) {",
|
||||
" umask(0000);",
|
||||
"",
|
||||
" Debug::enable();",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) {",
|
||||
" Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO);",
|
||||
"}",
|
||||
"",
|
||||
"if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) {",
|
||||
" Request::setTrustedHosts([$trustedHosts]);",
|
||||
"}",
|
||||
"",
|
||||
"$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);",
|
||||
"$request = Request::createFromGlobals();",
|
||||
"$response = $kernel->handle($request);",
|
||||
"$response->send();",
|
||||
"$kernel->terminate($request, $response);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\Loader\\Configurator\\RoutingConfigurator;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" protected function configureContainer(ContainerConfigurator $container): void",
|
||||
" {",
|
||||
" $container->import('../config/{packages}/*.yaml');",
|
||||
" $container->import('../config/{packages}/'.$this->environment.'/*.yaml');",
|
||||
"",
|
||||
" if (is_file(\\dirname(__DIR__).'/config/services.yaml')) {",
|
||||
" $container->import('../config/services.yaml');",
|
||||
" $container->import('../config/{services}_'.$this->environment.'.yaml');",
|
||||
" } elseif (is_file($path = \\dirname(__DIR__).'/config/services.php')) {",
|
||||
" (require $path)($container->withPath($path), $this);",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RoutingConfigurator $routes): void",
|
||||
" {",
|
||||
" $routes->import('../config/{routes}/'.$this->environment.'/*.yaml');",
|
||||
" $routes->import('../config/{routes}/*.yaml');",
|
||||
"",
|
||||
" if (is_file(\\dirname(__DIR__).'/config/routes.yaml')) {",
|
||||
" $routes->import('../config/routes.yaml');",
|
||||
" } elseif (is_file($path = \\dirname(__DIR__).'/config/routes.php')) {",
|
||||
" (require $path)($routes->withPath($path), $this);",
|
||||
" }",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0cc6d287da757e1167e287d84487662825119e91"
|
||||
}
|
||||
}
|
||||
}
|
||||
238
symfony.framework-bundle.5.2.json
Normal file
238
symfony.framework-bundle.5.2.json
Normal file
@@ -0,0 +1,238 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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)%"
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" #http_method_override: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/framework.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_id: session.storage.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/dev/framework.yaml": {
|
||||
"contents": [
|
||||
"_errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # controllers are imported separately to make sure services can be injected",
|
||||
" # as action arguments even if you don't extend any base controller class",
|
||||
" App\\Controller\\:",
|
||||
" resource: '../src/Controller/'",
|
||||
" tags: ['controller.service_arguments']",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"use Symfony\\Component\\Dotenv\\Dotenv;",
|
||||
"use Symfony\\Component\\ErrorHandler\\Debug;",
|
||||
"use Symfony\\Component\\HttpFoundation\\Request;",
|
||||
"",
|
||||
"require dirname(__DIR__).'/vendor/autoload.php';",
|
||||
"",
|
||||
"(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');",
|
||||
"",
|
||||
"if ($_SERVER['APP_DEBUG']) {",
|
||||
" umask(0000);",
|
||||
"",
|
||||
" Debug::enable();",
|
||||
"}",
|
||||
"",
|
||||
"$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);",
|
||||
"$request = Request::createFromGlobals();",
|
||||
"$response = $kernel->handle($request);",
|
||||
"$response->send();",
|
||||
"$kernel->terminate($request, $response);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\Loader\\Configurator\\RoutingConfigurator;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" protected function configureContainer(ContainerConfigurator $container): void",
|
||||
" {",
|
||||
" $container->import('../config/{packages}/*.yaml');",
|
||||
" $container->import('../config/{packages}/'.$this->environment.'/*.yaml');",
|
||||
"",
|
||||
" if (is_file(\\dirname(__DIR__).'/config/services.yaml')) {",
|
||||
" $container->import('../config/services.yaml');",
|
||||
" $container->import('../config/{services}_'.$this->environment.'.yaml');",
|
||||
" } elseif (is_file($path = \\dirname(__DIR__).'/config/services.php')) {",
|
||||
" (require $path)($container->withPath($path), $this);",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RoutingConfigurator $routes): void",
|
||||
" {",
|
||||
" $routes->import('../config/{routes}/'.$this->environment.'/*.yaml');",
|
||||
" $routes->import('../config/{routes}/*.yaml');",
|
||||
"",
|
||||
" if (is_file(\\dirname(__DIR__).'/config/routes.yaml')) {",
|
||||
" $routes->import('../config/routes.yaml');",
|
||||
" } elseif (is_file($path = \\dirname(__DIR__).'/config/routes.php')) {",
|
||||
" (require $path)($routes->withPath($path), $this);",
|
||||
" }",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "ffefb327a5300bbf5ff7ed586afe17d9b507c7c5"
|
||||
}
|
||||
}
|
||||
}
|
||||
217
symfony.framework-bundle.5.3.json
Normal file
217
symfony.framework-bundle.5.3.json
Normal file
@@ -0,0 +1,217 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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)%"
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" http_method_override: false",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
" storage_factory_id: session.storage.factory.native",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"use Symfony\\Component\\Routing\\Loader\\Configurator\\RoutingConfigurator;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"",
|
||||
" protected function configureContainer(ContainerConfigurator $container): void",
|
||||
" {",
|
||||
" $container->import('../config/{packages}/*.yaml');",
|
||||
" $container->import('../config/{packages}/'.$this->environment.'/*.yaml');",
|
||||
"",
|
||||
" if (is_file(\\dirname(__DIR__).'/config/services.yaml')) {",
|
||||
" $container->import('../config/services.yaml');",
|
||||
" $container->import('../config/{services}_'.$this->environment.'.yaml');",
|
||||
" } else {",
|
||||
" $container->import('../config/{services}.php');",
|
||||
" }",
|
||||
" }",
|
||||
"",
|
||||
" protected function configureRoutes(RoutingConfigurator $routes): void",
|
||||
" {",
|
||||
" $routes->import('../config/{routes}/'.$this->environment.'/*.yaml');",
|
||||
" $routes->import('../config/{routes}/*.yaml');",
|
||||
"",
|
||||
" if (is_file(\\dirname(__DIR__).'/config/routes.yaml')) {",
|
||||
" $routes->import('../config/routes.yaml');",
|
||||
" } else {",
|
||||
" $routes->import('../config/{routes}.php');",
|
||||
" }",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "09e1895fe170fe829d57168ba8ad268ef2669cc3"
|
||||
}
|
||||
}
|
||||
}
|
||||
190
symfony.framework-bundle.5.4.json
Normal file
190
symfony.framework-bundle.5.4.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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)%"
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" http_method_override: false",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
" storage_factory_id: session.storage.factory.native",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3cd216a4d007b78d8554d44a5b1c0a446dab24fb"
|
||||
}
|
||||
}
|
||||
}
|
||||
191
symfony.framework-bundle.6.2.json
Normal file
191
symfony.framework-bundle.6.2.json
Normal file
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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)%"
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
" http_method_override: false",
|
||||
" handle_all_throwables: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
" storage_factory_id: session.storage.factory.native",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "af47254c5e4cd543e6af3e4508298ffebbdaddd3"
|
||||
}
|
||||
}
|
||||
}
|
||||
190
symfony.framework-bundle.6.4.json
Normal file
190
symfony.framework-bundle.6.4.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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)%"
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" annotations: false",
|
||||
" http_method_override: false",
|
||||
" handle_all_throwables: true",
|
||||
"",
|
||||
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
|
||||
" # Remove or comment this section to explicitly disable session support.",
|
||||
" session:",
|
||||
" handler_id: null",
|
||||
" cookie_secure: auto",
|
||||
" cookie_samesite: lax",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
" php_errors:",
|
||||
" log: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "32126346f25e1cee607cc4aa6783d46034920554"
|
||||
}
|
||||
}
|
||||
}
|
||||
182
symfony.framework-bundle.7.0.json
Normal file
182
symfony.framework-bundle.7.0.json
Normal file
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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)%"
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
" #csrf_protection: true",
|
||||
"",
|
||||
" # Note that the session will be started ONLY if you read or write from it.",
|
||||
" session: true",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "6356c19b9ae08e7763e4ba2d9ae63043efc75db5"
|
||||
}
|
||||
}
|
||||
}
|
||||
186
symfony.framework-bundle.7.2.json
Normal file
186
symfony.framework-bundle.7.2.json
Normal file
@@ -0,0 +1,186 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"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": ""
|
||||
},
|
||||
"dotenv": {
|
||||
"dev": {
|
||||
"APP_SECRET": "%generate(secret)%"
|
||||
}
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
"",
|
||||
" # Note that the session will be started ONLY if you read or write from it.",
|
||||
" session: true",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.xml'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
" exclude:",
|
||||
" - '../src/DependencyInjection/'",
|
||||
" - '../src/Entity/'",
|
||||
" - '../src/Kernel.php'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "87bcf6f7c55201f345d8895deda46d2adbdbaa89"
|
||||
}
|
||||
}
|
||||
}
|
||||
206
symfony.framework-bundle.7.3.json
Normal file
206
symfony.framework-bundle.7.3.json
Normal file
@@ -0,0 +1,206 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"public/": "%PUBLIC_DIR%/",
|
||||
"src/": "%SRC_DIR%/",
|
||||
".editorconfig": ".editorconfig"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"cache:clear": "symfony-cmd",
|
||||
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
||||
},
|
||||
"env": {
|
||||
"APP_ENV": "dev",
|
||||
"APP_SECRET": ""
|
||||
},
|
||||
"dotenv": {
|
||||
"dev": {
|
||||
"APP_SECRET": "%generate(secret)%"
|
||||
}
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".editorconfig": {
|
||||
"contents": [
|
||||
"# editorconfig.org",
|
||||
"",
|
||||
"root = true",
|
||||
"",
|
||||
"[*]",
|
||||
"charset = utf-8",
|
||||
"end_of_line = lf",
|
||||
"indent_size = 4",
|
||||
"indent_style = space",
|
||||
"insert_final_newline = true",
|
||||
"trim_trailing_whitespace = true",
|
||||
"",
|
||||
"[{compose.yaml,compose.*.yaml}]",
|
||||
"indent_size = 2",
|
||||
"",
|
||||
"[*.md]",
|
||||
"trim_trailing_whitespace = false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
"",
|
||||
" # Note that the session will be started ONLY if you read or write from it.",
|
||||
" session: true",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.php'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5a1497d539f691b96afd45ae397ce5fe30beb4b9"
|
||||
}
|
||||
}
|
||||
}
|
||||
210
symfony.framework-bundle.7.4.json
Normal file
210
symfony.framework-bundle.7.4.json
Normal file
@@ -0,0 +1,210 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"public/": "%PUBLIC_DIR%/",
|
||||
"src/": "%SRC_DIR%/",
|
||||
".editorconfig": ".editorconfig"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"cache:clear": "symfony-cmd",
|
||||
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
||||
},
|
||||
"env": {
|
||||
"APP_ENV": "dev",
|
||||
"APP_SECRET": "",
|
||||
"APP_SHARE_DIR": "%VAR_DIR%/share"
|
||||
},
|
||||
"dotenv": {
|
||||
"dev": {
|
||||
"APP_SECRET": "%generate(secret)%"
|
||||
}
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".editorconfig": {
|
||||
"contents": [
|
||||
"# editorconfig.org",
|
||||
"",
|
||||
"root = true",
|
||||
"",
|
||||
"[*]",
|
||||
"charset = utf-8",
|
||||
"end_of_line = lf",
|
||||
"indent_size = 4",
|
||||
"indent_style = space",
|
||||
"insert_final_newline = true",
|
||||
"trim_trailing_whitespace = true",
|
||||
"",
|
||||
"[{compose.yaml,compose.*.yaml}]",
|
||||
"indent_size = 2",
|
||||
"",
|
||||
"[*.md]",
|
||||
"trim_trailing_whitespace = false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
"",
|
||||
" # Note that the session will be started ONLY if you read or write from it.",
|
||||
" session: true",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.php'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# yaml-language-server: $schema=../vendor/symfony/dependency-injection/Loader/schema/services.schema.json",
|
||||
"",
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"# See also https://symfony.com/doc/current/service_container/import.html",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "09f6e081c763a206802674ce0cb34a022f0ffc6d"
|
||||
}
|
||||
}
|
||||
}
|
||||
226
symfony.framework-bundle.8.0.json
Normal file
226
symfony.framework-bundle.8.0.json
Normal file
@@ -0,0 +1,226 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/framework-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
".editorconfig": ".editorconfig",
|
||||
".symfony.local.yaml": ".symfony.local.yaml",
|
||||
"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": "",
|
||||
"APP_SHARE_DIR": "%VAR_DIR%/share"
|
||||
},
|
||||
"dotenv": {
|
||||
"dev": {
|
||||
"APP_SECRET": "%generate(secret)%"
|
||||
}
|
||||
},
|
||||
"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": [
|
||||
" * <fg=blue>Run</> your application:",
|
||||
" 1. Go to the project directory",
|
||||
" 2. Create your code repository with the <comment>git init</comment> command",
|
||||
" 3. Download the Symfony CLI at <comment>https://symfony.com/download</> to install a development web server",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
".editorconfig": {
|
||||
"contents": [
|
||||
"# editorconfig.org",
|
||||
"",
|
||||
"root = true",
|
||||
"",
|
||||
"[*]",
|
||||
"charset = utf-8",
|
||||
"end_of_line = lf",
|
||||
"indent_size = 4",
|
||||
"indent_style = space",
|
||||
"insert_final_newline = true",
|
||||
"trim_trailing_whitespace = true",
|
||||
"",
|
||||
"[{compose.yaml,compose.*.yaml}]",
|
||||
"indent_size = 2",
|
||||
"",
|
||||
"[*.md]",
|
||||
"trim_trailing_whitespace = false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
".symfony.local.yaml": {
|
||||
"contents": [
|
||||
"# This configuration file is used by the Symfony CLI tool.",
|
||||
"# See https://symfony.com/doc/current/setup/symfony_cli.html for more information.",
|
||||
"",
|
||||
"http:",
|
||||
" # Use Gzip compression",
|
||||
" use_gzip: true",
|
||||
"",
|
||||
"# Processes that automatically run with the server (https://symfony.com/doc/current/setup/symfony_cli.html#configuring-workers)",
|
||||
"workers:",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/cache.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" cache:",
|
||||
" # Unique name of your app: used to compute stable namespaces for cache keys.",
|
||||
" #prefix_seed: your_vendor_name/app_name",
|
||||
"",
|
||||
" # The \"app\" cache stores to the filesystem by default.",
|
||||
" # The data in this cache should persist between deploys.",
|
||||
" # Other options include:",
|
||||
"",
|
||||
" # Redis",
|
||||
" #app: cache.adapter.redis",
|
||||
" #default_redis_provider: redis://localhost",
|
||||
"",
|
||||
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
|
||||
" #app: cache.adapter.apcu",
|
||||
"",
|
||||
" # Namespaced pools use the above \"app\" backend by default",
|
||||
" #pools:",
|
||||
" #my.dedicated.cache: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/framework.yaml": {
|
||||
"contents": [
|
||||
"# see https://symfony.com/doc/current/reference/configuration/framework.html",
|
||||
"framework:",
|
||||
" secret: '%env(APP_SECRET)%'",
|
||||
"",
|
||||
" # Note that the session will be started ONLY if you read or write from it.",
|
||||
" session: true",
|
||||
"",
|
||||
" #esi: true",
|
||||
" #fragments: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" framework:",
|
||||
" test: true",
|
||||
" session:",
|
||||
" storage_factory_id: session.storage.factory.mock_file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/preload.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {",
|
||||
" require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/framework.yaml": {
|
||||
"contents": [
|
||||
"when@dev:",
|
||||
" _errors:",
|
||||
" resource: '@FrameworkBundle/Resources/config/routing/errors.php'",
|
||||
" prefix: /_error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/services.yaml": {
|
||||
"contents": [
|
||||
"# yaml-language-server: $schema=../vendor/symfony/dependency-injection/Loader/schema/services.schema.json",
|
||||
"",
|
||||
"# This file is the entry point to configure your own services.",
|
||||
"# Files in the packages/ subdirectory configure your dependencies.",
|
||||
"# See also https://symfony.com/doc/current/service_container/import.html",
|
||||
"",
|
||||
"# Put parameters here that don't need to change on each machine where the app is deployed",
|
||||
"# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration",
|
||||
"parameters:",
|
||||
"",
|
||||
"services:",
|
||||
" # default configuration for services in *this* file",
|
||||
" _defaults:",
|
||||
" autowire: true # Automatically injects dependencies in your services.",
|
||||
" autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.",
|
||||
"",
|
||||
" # makes classes in src/ available to be used as services",
|
||||
" # this creates a service per class whose id is the fully-qualified class name",
|
||||
" App\\:",
|
||||
" resource: '../src/'",
|
||||
"",
|
||||
" # add more service definitions when explicit configuration is needed",
|
||||
" # please note that last definitions always *replace* previous ones",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"public/index.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use App\\Kernel;",
|
||||
"",
|
||||
"require_once dirname(__DIR__).'/vendor/autoload_runtime.php';",
|
||||
"",
|
||||
"return function (array $context) {",
|
||||
" return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Controller/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Kernel.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App;",
|
||||
"",
|
||||
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
|
||||
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
|
||||
"",
|
||||
"class Kernel extends BaseKernel",
|
||||
"{",
|
||||
" use MicroKernelTrait;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "63a33c141b25136a4c8c6bf6b1a167ce971d6161"
|
||||
}
|
||||
}
|
||||
}
|
||||
248
symfony.webpack-encore-bundle.1.0.json
Normal file
248
symfony.webpack-encore-bundle.1.0.json
Normal file
@@ -0,0 +1,248 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/webpack-encore-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"package.json": "package.json",
|
||||
"webpack.config.js": "webpack.config.js"
|
||||
},
|
||||
"gitignore": [
|
||||
"/node_modules/",
|
||||
"/%PUBLIC_DIR%/build/",
|
||||
"npm-debug.log",
|
||||
"yarn-error.log"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.[jt]sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets.",
|
||||
" # This should match Encore.setOutputPath() in webpack.config.js.",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
|
||||
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
|
||||
" # Available in version 1.2",
|
||||
" #cache: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"stimulus\": \"^2.0.0\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
"",
|
||||
"// Manually configure the runtime environment if not already configured yet by the \"encore\" command.",
|
||||
"// It's useful when you use tools that rely on webpack.config.js file.",
|
||||
"if (!Encore.isRuntimeEnvironmentConfigured()) {",
|
||||
" Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');",
|
||||
"}",
|
||||
"",
|
||||
"Encore",
|
||||
" // directory where compiled assets will be stored",
|
||||
" .setOutputPath('public/build/')",
|
||||
" // public path used by the web server to access the output path",
|
||||
" .setPublicPath('/build')",
|
||||
" // only needed for CDN's or sub-directory deploy",
|
||||
" //.setManifestKeyPrefix('build/')",
|
||||
"",
|
||||
" /*",
|
||||
" * ENTRY CONFIG",
|
||||
" *",
|
||||
" * Each entry will result in one JavaScript file (e.g. app.js)",
|
||||
" * and one CSS file (e.g. app.css) if your JavaScript imports CSS.",
|
||||
" */",
|
||||
" .addEntry('app', './assets/app.js')",
|
||||
"",
|
||||
" // enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)",
|
||||
" .enableStimulusBridge('./assets/controllers.json')",
|
||||
"",
|
||||
" // When enabled, Webpack \"splits\" your files into smaller pieces for greater optimization.",
|
||||
" .splitEntryChunks()",
|
||||
"",
|
||||
" // will require an extra script tag for runtime.js",
|
||||
" // but, you probably want this, unless you're building a single-page app",
|
||||
" .enableSingleRuntimeChunk()",
|
||||
"",
|
||||
" /*",
|
||||
" * FEATURE CONFIG",
|
||||
" *",
|
||||
" * Enable & configure other features below. For a full",
|
||||
" * list of features, see:",
|
||||
" * https://symfony.com/doc/current/frontend.html#adding-more-features",
|
||||
" */",
|
||||
" .cleanupOutputBeforeBuild()",
|
||||
" .enableBuildNotifications()",
|
||||
" .enableSourceMaps(!Encore.isProduction())",
|
||||
" // enables hashed filenames (e.g. app.abc123.css)",
|
||||
" .enableVersioning(Encore.isProduction())",
|
||||
"",
|
||||
" .configureBabel((config) => {",
|
||||
" config.plugins.push('@babel/plugin-proposal-class-properties');",
|
||||
" })",
|
||||
"",
|
||||
" // enables @babel/preset-env polyfills",
|
||||
" .configureBabelPresetEnv((config) => {",
|
||||
" config.useBuiltIns = 'usage';",
|
||||
" config.corejs = 3;",
|
||||
" })",
|
||||
"",
|
||||
" // enables Sass/SCSS support",
|
||||
" //.enableSassLoader()",
|
||||
"",
|
||||
" // uncomment if you use TypeScript",
|
||||
" //.enableTypeScriptLoader()",
|
||||
"",
|
||||
" // uncomment if you use React",
|
||||
" //.enableReactPreset()",
|
||||
"",
|
||||
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
|
||||
" // requires WebpackEncoreBundle 1.4 or higher",
|
||||
" //.enableIntegrityHashes(Encore.isProduction())",
|
||||
"",
|
||||
" // uncomment if you're having problems with a jQuery plugin",
|
||||
" //.autoProvidejQuery()",
|
||||
";",
|
||||
"",
|
||||
"module.exports = Encore.getWebpackConfig();",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "594e2e4ee3307048f1405c00418eea688a67192c"
|
||||
}
|
||||
}
|
||||
}
|
||||
273
symfony.webpack-encore-bundle.1.10.json
Normal file
273
symfony.webpack-encore-bundle.1.10.json
Normal file
@@ -0,0 +1,273 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/webpack-encore-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"package.json": "package.json",
|
||||
"webpack.config.js": "webpack.config.js"
|
||||
},
|
||||
"gitignore": [
|
||||
"/node_modules/",
|
||||
"/%PUBLIC_DIR%/build/",
|
||||
"npm-debug.log",
|
||||
"yarn-error.log"
|
||||
],
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.4"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Install Yarn and run <fg=green>yarn install</>",
|
||||
"",
|
||||
" * Start the development server: <fg=green>yarn encore dev-server</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.[jt]sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from '@hotwired/stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # Set attributes that will be rendered on all script and link tags",
|
||||
" script_attributes:",
|
||||
" defer: true",
|
||||
" # Uncomment (also under link_attributes) if using Turbo Drive",
|
||||
" # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change",
|
||||
" # 'data-turbo-track': reload",
|
||||
" # link_attributes:",
|
||||
" # Uncomment if using Turbo Drive",
|
||||
" # 'data-turbo-track': reload",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # pass the build name as the 3rd argument to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
"",
|
||||
"#when@prod:",
|
||||
"# webpack_encore:",
|
||||
"# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
"# # Available in version 1.2",
|
||||
"# cache: true",
|
||||
"",
|
||||
"#when@test:",
|
||||
"# webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@babel/core\": \"^7.17.0\",",
|
||||
" \"@babel/preset-env\": \"^7.16.0\",",
|
||||
" \"@hotwired/stimulus\": \"^3.0.0\",",
|
||||
" \"@symfony/stimulus-bridge\": \"^3.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^4.0.0\",",
|
||||
" \"core-js\": \"^3.23.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.9\",",
|
||||
" \"webpack\": \"^5.74.0\",",
|
||||
" \"webpack-cli\": \"^4.10.0\",",
|
||||
" \"webpack-notifier\": \"^1.15.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
"",
|
||||
"// Manually configure the runtime environment if not already configured yet by the \"encore\" command.",
|
||||
"// It's useful when you use tools that rely on webpack.config.js file.",
|
||||
"if (!Encore.isRuntimeEnvironmentConfigured()) {",
|
||||
" Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');",
|
||||
"}",
|
||||
"",
|
||||
"Encore",
|
||||
" // directory where compiled assets will be stored",
|
||||
" .setOutputPath('public/build/')",
|
||||
" // public path used by the web server to access the output path",
|
||||
" .setPublicPath('/build')",
|
||||
" // only needed for CDN's or subdirectory deploy",
|
||||
" //.setManifestKeyPrefix('build/')",
|
||||
"",
|
||||
" /*",
|
||||
" * ENTRY CONFIG",
|
||||
" *",
|
||||
" * Each entry will result in one JavaScript file (e.g. app.js)",
|
||||
" * and one CSS file (e.g. app.css) if your JavaScript imports CSS.",
|
||||
" */",
|
||||
" .addEntry('app', './assets/app.js')",
|
||||
"",
|
||||
" // enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)",
|
||||
" .enableStimulusBridge('./assets/controllers.json')",
|
||||
"",
|
||||
" // When enabled, Webpack \"splits\" your files into smaller pieces for greater optimization.",
|
||||
" .splitEntryChunks()",
|
||||
"",
|
||||
" // will require an extra script tag for runtime.js",
|
||||
" // but, you probably want this, unless you're building a single-page app",
|
||||
" .enableSingleRuntimeChunk()",
|
||||
"",
|
||||
" /*",
|
||||
" * FEATURE CONFIG",
|
||||
" *",
|
||||
" * Enable & configure other features below. For a full",
|
||||
" * list of features, see:",
|
||||
" * https://symfony.com/doc/current/frontend.html#adding-more-features",
|
||||
" */",
|
||||
" .cleanupOutputBeforeBuild()",
|
||||
" .enableBuildNotifications()",
|
||||
" .enableSourceMaps(!Encore.isProduction())",
|
||||
" // enables hashed filenames (e.g. app.abc123.css)",
|
||||
" .enableVersioning(Encore.isProduction())",
|
||||
"",
|
||||
" // configure Babel",
|
||||
" // .configureBabel((config) => {",
|
||||
" // config.plugins.push('@babel/a-babel-plugin');",
|
||||
" // })",
|
||||
"",
|
||||
" // enables and configure @babel/preset-env polyfills",
|
||||
" .configureBabelPresetEnv((config) => {",
|
||||
" config.useBuiltIns = 'usage';",
|
||||
" config.corejs = '3.23';",
|
||||
" })",
|
||||
"",
|
||||
" // enables Sass/SCSS support",
|
||||
" //.enableSassLoader()",
|
||||
"",
|
||||
" // uncomment if you use TypeScript",
|
||||
" //.enableTypeScriptLoader()",
|
||||
"",
|
||||
" // uncomment if you use React",
|
||||
" //.enableReactPreset()",
|
||||
"",
|
||||
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
|
||||
" // requires WebpackEncoreBundle 1.4 or higher",
|
||||
" //.enableIntegrityHashes(Encore.isProduction())",
|
||||
"",
|
||||
" // uncomment if you're having problems with a jQuery plugin",
|
||||
" //.autoProvidejQuery()",
|
||||
";",
|
||||
"",
|
||||
"module.exports = Encore.getWebpackConfig();",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "06b10227d7b06488d3463909891fdfa4990476cf"
|
||||
}
|
||||
}
|
||||
}
|
||||
273
symfony.webpack-encore-bundle.1.17.json
Normal file
273
symfony.webpack-encore-bundle.1.17.json
Normal file
@@ -0,0 +1,273 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/webpack-encore-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"package.json": "package.json",
|
||||
"webpack.config.js": "webpack.config.js"
|
||||
},
|
||||
"gitignore": [
|
||||
"/node_modules/",
|
||||
"/%PUBLIC_DIR%/build/",
|
||||
"npm-debug.log",
|
||||
"yarn-error.log"
|
||||
],
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.4"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Install Yarn and run <fg=green>yarn install</>",
|
||||
"",
|
||||
" * Start the development server: <fg=green>yarn encore dev-server</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.[jt]sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from '@hotwired/stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # Set attributes that will be rendered on all script and link tags",
|
||||
" script_attributes:",
|
||||
" defer: true",
|
||||
" # Uncomment (also under link_attributes) if using Turbo Drive",
|
||||
" # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change",
|
||||
" # 'data-turbo-track': reload",
|
||||
" # link_attributes:",
|
||||
" # Uncomment if using Turbo Drive",
|
||||
" # 'data-turbo-track': reload",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # pass the build name as the 3rd argument to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
"",
|
||||
"#when@prod:",
|
||||
"# webpack_encore:",
|
||||
"# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
"# # Available in version 1.2",
|
||||
"# cache: true",
|
||||
"",
|
||||
"#when@test:",
|
||||
"# webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@babel/core\": \"^7.17.0\",",
|
||||
" \"@babel/preset-env\": \"^7.16.0\",",
|
||||
" \"@hotwired/stimulus\": \"^3.0.0\",",
|
||||
" \"@symfony/stimulus-bridge\": \"^4.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^5.1.0\",",
|
||||
" \"core-js\": \"^3.23.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.9\",",
|
||||
" \"webpack\": \"^5.74.0\",",
|
||||
" \"webpack-cli\": \"^4.10.0\",",
|
||||
" \"webpack-notifier\": \"^1.15.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
"",
|
||||
"// Manually configure the runtime environment if not already configured yet by the \"encore\" command.",
|
||||
"// It's useful when you use tools that rely on webpack.config.js file.",
|
||||
"if (!Encore.isRuntimeEnvironmentConfigured()) {",
|
||||
" Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');",
|
||||
"}",
|
||||
"",
|
||||
"Encore",
|
||||
" // directory where compiled assets will be stored",
|
||||
" .setOutputPath('public/build/')",
|
||||
" // public path used by the web server to access the output path",
|
||||
" .setPublicPath('/build')",
|
||||
" // only needed for CDN's or subdirectory deploy",
|
||||
" //.setManifestKeyPrefix('build/')",
|
||||
"",
|
||||
" /*",
|
||||
" * ENTRY CONFIG",
|
||||
" *",
|
||||
" * Each entry will result in one JavaScript file (e.g. app.js)",
|
||||
" * and one CSS file (e.g. app.css) if your JavaScript imports CSS.",
|
||||
" */",
|
||||
" .addEntry('app', './assets/app.js')",
|
||||
"",
|
||||
" // enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)",
|
||||
" .enableStimulusBridge('./assets/controllers.json')",
|
||||
"",
|
||||
" // When enabled, Webpack \"splits\" your files into smaller pieces for greater optimization.",
|
||||
" .splitEntryChunks()",
|
||||
"",
|
||||
" // will require an extra script tag for runtime.js",
|
||||
" // but, you probably want this, unless you're building a single-page app",
|
||||
" .enableSingleRuntimeChunk()",
|
||||
"",
|
||||
" /*",
|
||||
" * FEATURE CONFIG",
|
||||
" *",
|
||||
" * Enable & configure other features below. For a full",
|
||||
" * list of features, see:",
|
||||
" * https://symfony.com/doc/current/frontend.html#adding-more-features",
|
||||
" */",
|
||||
" .cleanupOutputBeforeBuild()",
|
||||
" .enableBuildNotifications()",
|
||||
" .enableSourceMaps(!Encore.isProduction())",
|
||||
" // enables hashed filenames (e.g. app.abc123.css)",
|
||||
" .enableVersioning(Encore.isProduction())",
|
||||
"",
|
||||
" // configure Babel",
|
||||
" // .configureBabel((config) => {",
|
||||
" // config.plugins.push('@babel/a-babel-plugin');",
|
||||
" // })",
|
||||
"",
|
||||
" // enables and configure @babel/preset-env polyfills",
|
||||
" .configureBabelPresetEnv((config) => {",
|
||||
" config.useBuiltIns = 'usage';",
|
||||
" config.corejs = '3.23';",
|
||||
" })",
|
||||
"",
|
||||
" // enables Sass/SCSS support",
|
||||
" //.enableSassLoader()",
|
||||
"",
|
||||
" // uncomment if you use TypeScript",
|
||||
" //.enableTypeScriptLoader()",
|
||||
"",
|
||||
" // uncomment if you use React",
|
||||
" //.enableReactPreset()",
|
||||
"",
|
||||
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
|
||||
" // requires WebpackEncoreBundle 1.4 or higher",
|
||||
" //.enableIntegrityHashes(Encore.isProduction())",
|
||||
"",
|
||||
" // uncomment if you're having problems with a jQuery plugin",
|
||||
" //.autoProvidejQuery()",
|
||||
";",
|
||||
"",
|
||||
"module.exports = Encore.getWebpackConfig();",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "eeb7f3bae6214a0cee8f48310f14e48f5cf90ba3"
|
||||
}
|
||||
}
|
||||
}
|
||||
267
symfony.webpack-encore-bundle.1.6.json
Normal file
267
symfony.webpack-encore-bundle.1.6.json
Normal file
@@ -0,0 +1,267 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/webpack-encore-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"package.json": "package.json",
|
||||
"webpack.config.js": "webpack.config.js"
|
||||
},
|
||||
"gitignore": [
|
||||
"/node_modules/",
|
||||
"/%PUBLIC_DIR%/build/",
|
||||
"npm-debug.log",
|
||||
"yarn-error.log"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.[jt]sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from 'stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/assets.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Available in version 1.2",
|
||||
" #cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"#webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # pass \"frontend\" as the 3rg arg to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Put in config/packages/prod/webpack_encore.yaml",
|
||||
" # cache: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.0.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"stimulus\": \"^2.0.0\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
"",
|
||||
"// Manually configure the runtime environment if not already configured yet by the \"encore\" command.",
|
||||
"// It's useful when you use tools that rely on webpack.config.js file.",
|
||||
"if (!Encore.isRuntimeEnvironmentConfigured()) {",
|
||||
" Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');",
|
||||
"}",
|
||||
"",
|
||||
"Encore",
|
||||
" // directory where compiled assets will be stored",
|
||||
" .setOutputPath('public/build/')",
|
||||
" // public path used by the web server to access the output path",
|
||||
" .setPublicPath('/build')",
|
||||
" // only needed for CDN's or sub-directory deploy",
|
||||
" //.setManifestKeyPrefix('build/')",
|
||||
"",
|
||||
" /*",
|
||||
" * ENTRY CONFIG",
|
||||
" *",
|
||||
" * Each entry will result in one JavaScript file (e.g. app.js)",
|
||||
" * and one CSS file (e.g. app.css) if your JavaScript imports CSS.",
|
||||
" */",
|
||||
" .addEntry('app', './assets/app.js')",
|
||||
"",
|
||||
" // enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)",
|
||||
" .enableStimulusBridge('./assets/controllers.json')",
|
||||
"",
|
||||
" // When enabled, Webpack \"splits\" your files into smaller pieces for greater optimization.",
|
||||
" .splitEntryChunks()",
|
||||
"",
|
||||
" // will require an extra script tag for runtime.js",
|
||||
" // but, you probably want this, unless you're building a single-page app",
|
||||
" .enableSingleRuntimeChunk()",
|
||||
"",
|
||||
" /*",
|
||||
" * FEATURE CONFIG",
|
||||
" *",
|
||||
" * Enable & configure other features below. For a full",
|
||||
" * list of features, see:",
|
||||
" * https://symfony.com/doc/current/frontend.html#adding-more-features",
|
||||
" */",
|
||||
" .cleanupOutputBeforeBuild()",
|
||||
" .enableBuildNotifications()",
|
||||
" .enableSourceMaps(!Encore.isProduction())",
|
||||
" // enables hashed filenames (e.g. app.abc123.css)",
|
||||
" .enableVersioning(Encore.isProduction())",
|
||||
"",
|
||||
" .configureBabel((config) => {",
|
||||
" config.plugins.push('@babel/plugin-proposal-class-properties');",
|
||||
" })",
|
||||
"",
|
||||
" // enables @babel/preset-env polyfills",
|
||||
" .configureBabelPresetEnv((config) => {",
|
||||
" config.useBuiltIns = 'usage';",
|
||||
" config.corejs = 3;",
|
||||
" })",
|
||||
"",
|
||||
" // enables Sass/SCSS support",
|
||||
" //.enableSassLoader()",
|
||||
"",
|
||||
" // uncomment if you use TypeScript",
|
||||
" //.enableTypeScriptLoader()",
|
||||
"",
|
||||
" // uncomment if you use React",
|
||||
" //.enableReactPreset()",
|
||||
"",
|
||||
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
|
||||
" // requires WebpackEncoreBundle 1.4 or higher",
|
||||
" //.enableIntegrityHashes(Encore.isProduction())",
|
||||
"",
|
||||
" // uncomment if you're having problems with a jQuery plugin",
|
||||
" //.autoProvidejQuery()",
|
||||
";",
|
||||
"",
|
||||
"module.exports = Encore.getWebpackConfig();",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5919ae925ac2c06c860c6260fe12d1dc8ae2a419"
|
||||
}
|
||||
}
|
||||
}
|
||||
271
symfony.webpack-encore-bundle.1.9.json
Normal file
271
symfony.webpack-encore-bundle.1.9.json
Normal file
@@ -0,0 +1,271 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/webpack-encore-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"package.json": "package.json",
|
||||
"webpack.config.js": "webpack.config.js"
|
||||
},
|
||||
"gitignore": [
|
||||
"/node_modules/",
|
||||
"/%PUBLIC_DIR%/build/",
|
||||
"npm-debug.log",
|
||||
"yarn-error.log"
|
||||
],
|
||||
"post-install-output": [
|
||||
" * Install Yarn and run <fg=green>yarn install</>",
|
||||
"",
|
||||
" * Uncomment the Twig helpers in <fg=green>templates/base.html.twig</> (they may be already)",
|
||||
"",
|
||||
" * Start the development server: <fg=green>yarn encore dev-server</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
"",
|
||||
"// start the Stimulus application",
|
||||
"import './bootstrap';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/bootstrap.js": {
|
||||
"contents": [
|
||||
"import { startStimulusApp } from '@symfony/stimulus-bridge';",
|
||||
"",
|
||||
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
|
||||
"export const app = startStimulusApp(require.context(",
|
||||
" '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',",
|
||||
" true,",
|
||||
" /\\.[jt]sx?$/",
|
||||
"));",
|
||||
"",
|
||||
"// register any custom, 3rd party controllers here",
|
||||
"// app.register('some_controller_name', SomeImportedController);",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"controllers\": [],",
|
||||
" \"entrypoints\": []",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/controllers/hello_controller.js": {
|
||||
"contents": [
|
||||
"import { Controller } from '@hotwired/stimulus';",
|
||||
"",
|
||||
"/*",
|
||||
" * This is an example Stimulus controller!",
|
||||
" *",
|
||||
" * Any element with a data-controller=\"hello\" attribute will cause",
|
||||
" * this controller to be executed. The name \"hello\" comes from the filename:",
|
||||
" * hello_controller.js -> \"hello\"",
|
||||
" *",
|
||||
" * Delete this file or adapt it for your use!",
|
||||
" */",
|
||||
"export default class extends Controller {",
|
||||
" connect() {",
|
||||
" this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # Set attributes that will be rendered on all script and link tags",
|
||||
" script_attributes:",
|
||||
" defer: true",
|
||||
" # Uncomment (also under link_attributes) if using Turbo Drive",
|
||||
" # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change",
|
||||
" # 'data-turbo-track': reload",
|
||||
" # link_attributes:",
|
||||
" # Uncomment if using Turbo Drive",
|
||||
" # 'data-turbo-track': reload",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # pass \"frontend\" as the 3rg arg to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
" # Put in config/packages/prod/webpack_encore.yaml",
|
||||
" # cache: true",
|
||||
"",
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
"",
|
||||
"#when@prod:",
|
||||
"# webpack_encore:",
|
||||
"# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
"# # Available in version 1.2",
|
||||
"# cache: true",
|
||||
"",
|
||||
"#when@test:",
|
||||
"# webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@hotwired/stimulus\": \"^3.0.0\",",
|
||||
" \"@symfony/stimulus-bridge\": \"^3.0.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^1.7.0\",",
|
||||
" \"core-js\": \"^3.0.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.2\",",
|
||||
" \"webpack-notifier\": \"^1.6.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
"",
|
||||
"// Manually configure the runtime environment if not already configured yet by the \"encore\" command.",
|
||||
"// It's useful when you use tools that rely on webpack.config.js file.",
|
||||
"if (!Encore.isRuntimeEnvironmentConfigured()) {",
|
||||
" Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');",
|
||||
"}",
|
||||
"",
|
||||
"Encore",
|
||||
" // directory where compiled assets will be stored",
|
||||
" .setOutputPath('public/build/')",
|
||||
" // public path used by the web server to access the output path",
|
||||
" .setPublicPath('/build')",
|
||||
" // only needed for CDN's or sub-directory deploy",
|
||||
" //.setManifestKeyPrefix('build/')",
|
||||
"",
|
||||
" /*",
|
||||
" * ENTRY CONFIG",
|
||||
" *",
|
||||
" * Each entry will result in one JavaScript file (e.g. app.js)",
|
||||
" * and one CSS file (e.g. app.css) if your JavaScript imports CSS.",
|
||||
" */",
|
||||
" .addEntry('app', './assets/app.js')",
|
||||
"",
|
||||
" // enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)",
|
||||
" .enableStimulusBridge('./assets/controllers.json')",
|
||||
"",
|
||||
" // When enabled, Webpack \"splits\" your files into smaller pieces for greater optimization.",
|
||||
" .splitEntryChunks()",
|
||||
"",
|
||||
" // will require an extra script tag for runtime.js",
|
||||
" // but, you probably want this, unless you're building a single-page app",
|
||||
" .enableSingleRuntimeChunk()",
|
||||
"",
|
||||
" /*",
|
||||
" * FEATURE CONFIG",
|
||||
" *",
|
||||
" * Enable & configure other features below. For a full",
|
||||
" * list of features, see:",
|
||||
" * https://symfony.com/doc/current/frontend.html#adding-more-features",
|
||||
" */",
|
||||
" .cleanupOutputBeforeBuild()",
|
||||
" .enableBuildNotifications()",
|
||||
" .enableSourceMaps(!Encore.isProduction())",
|
||||
" // enables hashed filenames (e.g. app.abc123.css)",
|
||||
" .enableVersioning(Encore.isProduction())",
|
||||
"",
|
||||
" .configureBabel((config) => {",
|
||||
" config.plugins.push('@babel/plugin-proposal-class-properties');",
|
||||
" })",
|
||||
"",
|
||||
" // enables @babel/preset-env polyfills",
|
||||
" .configureBabelPresetEnv((config) => {",
|
||||
" config.useBuiltIns = 'usage';",
|
||||
" config.corejs = 3;",
|
||||
" })",
|
||||
"",
|
||||
" // enables Sass/SCSS support",
|
||||
" //.enableSassLoader()",
|
||||
"",
|
||||
" // uncomment if you use TypeScript",
|
||||
" //.enableTypeScriptLoader()",
|
||||
"",
|
||||
" // uncomment if you use React",
|
||||
" //.enableReactPreset()",
|
||||
"",
|
||||
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
|
||||
" // requires WebpackEncoreBundle 1.4 or higher",
|
||||
" //.enableIntegrityHashes(Encore.isProduction())",
|
||||
"",
|
||||
" // uncomment if you're having problems with a jQuery plugin",
|
||||
" //.autoProvidejQuery()",
|
||||
";",
|
||||
"",
|
||||
"module.exports = Encore.getWebpackConfig();",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f466b6384e592cfda11ca2361bbf7c7287b58f55"
|
||||
}
|
||||
}
|
||||
}
|
||||
241
symfony.webpack-encore-bundle.2.0.json
Normal file
241
symfony.webpack-encore-bundle.2.0.json
Normal file
@@ -0,0 +1,241 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/webpack-encore-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"package.json": "package.json",
|
||||
"webpack.config.js": "webpack.config.js"
|
||||
},
|
||||
"gitignore": [
|
||||
"/node_modules/",
|
||||
"/%PUBLIC_DIR%/build/",
|
||||
"npm-debug.log",
|
||||
"yarn-error.log"
|
||||
],
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.4",
|
||||
"symfony/flex": "<1.20.0 || >=2.0.0,<2.3.0"
|
||||
},
|
||||
"add-lines": [
|
||||
{
|
||||
"file": "templates/base.html.twig",
|
||||
"content": " {{ encore_entry_script_tags('app') }}",
|
||||
"position": "after_target",
|
||||
"target": "{% block javascripts %}",
|
||||
"warn_if_missing": true
|
||||
},
|
||||
{
|
||||
"file": "templates/base.html.twig",
|
||||
"content": " {{ encore_entry_link_tags('app') }}",
|
||||
"position": "after_target",
|
||||
"target": "{% block stylesheets %}",
|
||||
"warn_if_missing": true
|
||||
}
|
||||
],
|
||||
"post-install-output": [
|
||||
" * Install NPM and run <fg=green>npm install</>",
|
||||
"",
|
||||
" * Compile your assets for development: <fg=green>npm run dev</>",
|
||||
" ",
|
||||
" * Compile your assets for development and watch for any modifications: <fg=green>npm run watch</>",
|
||||
" ",
|
||||
" * Or start the development server: <fg=green>npm run dev-server</>",
|
||||
" ",
|
||||
" * Compile your assets for production: <fg=green>npm run build</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # Set attributes that will be rendered on all script and link tags",
|
||||
" script_attributes:",
|
||||
" defer: true",
|
||||
" # Uncomment (also under link_attributes) if using Turbo Drive",
|
||||
" # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change",
|
||||
" # 'data-turbo-track': reload",
|
||||
" # link_attributes:",
|
||||
" # Uncomment if using Turbo Drive",
|
||||
" # 'data-turbo-track': reload",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # pass the build name as the 3rd argument to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
"",
|
||||
"#when@prod:",
|
||||
"# webpack_encore:",
|
||||
"# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
"# # Available in version 1.2",
|
||||
"# cache: true",
|
||||
"",
|
||||
"#when@test:",
|
||||
"# webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@babel/core\": \"^7.17.0\",",
|
||||
" \"@babel/preset-env\": \"^7.16.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^5.1.0\",",
|
||||
" \"core-js\": \"^3.38.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.9\",",
|
||||
" \"webpack\": \"^5.74.0\",",
|
||||
" \"webpack-cli\": \"^5.1.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
"",
|
||||
"// Manually configure the runtime environment if not already configured yet by the \"encore\" command.",
|
||||
"// It's useful when you use tools that rely on webpack.config.js file.",
|
||||
"if (!Encore.isRuntimeEnvironmentConfigured()) {",
|
||||
" Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');",
|
||||
"}",
|
||||
"",
|
||||
"Encore",
|
||||
" // directory where compiled assets will be stored",
|
||||
" .setOutputPath('public/build/')",
|
||||
" // public path used by the web server to access the output path",
|
||||
" .setPublicPath('/build')",
|
||||
" // only needed for CDN's or subdirectory deploy",
|
||||
" //.setManifestKeyPrefix('build/')",
|
||||
"",
|
||||
" /*",
|
||||
" * ENTRY CONFIG",
|
||||
" *",
|
||||
" * Each entry will result in one JavaScript file (e.g. app.js)",
|
||||
" * and one CSS file (e.g. app.css) if your JavaScript imports CSS.",
|
||||
" */",
|
||||
" .addEntry('app', './assets/app.js')",
|
||||
"",
|
||||
" // When enabled, Webpack \"splits\" your files into smaller pieces for greater optimization.",
|
||||
" .splitEntryChunks()",
|
||||
"",
|
||||
" // will require an extra script tag for runtime.js",
|
||||
" // but, you probably want this, unless you're building a single-page app",
|
||||
" .enableSingleRuntimeChunk()",
|
||||
"",
|
||||
" /*",
|
||||
" * FEATURE CONFIG",
|
||||
" *",
|
||||
" * Enable & configure other features below. For a full",
|
||||
" * list of features, see:",
|
||||
" * https://symfony.com/doc/current/frontend.html#adding-more-features",
|
||||
" */",
|
||||
" .cleanupOutputBeforeBuild()",
|
||||
"",
|
||||
" // Displays build status system notifications to the user",
|
||||
" // .enableBuildNotifications()",
|
||||
"",
|
||||
" .enableSourceMaps(!Encore.isProduction())",
|
||||
" // enables hashed filenames (e.g. app.abc123.css)",
|
||||
" .enableVersioning(Encore.isProduction())",
|
||||
"",
|
||||
" // configure Babel",
|
||||
" // .configureBabel((config) => {",
|
||||
" // config.plugins.push('@babel/a-babel-plugin');",
|
||||
" // })",
|
||||
"",
|
||||
" // enables and configure @babel/preset-env polyfills",
|
||||
" .configureBabelPresetEnv((config) => {",
|
||||
" config.useBuiltIns = 'usage';",
|
||||
" config.corejs = '3.38';",
|
||||
" })",
|
||||
"",
|
||||
" // enables Sass/SCSS support",
|
||||
" //.enableSassLoader()",
|
||||
"",
|
||||
" // uncomment if you use TypeScript",
|
||||
" //.enableTypeScriptLoader()",
|
||||
"",
|
||||
" // uncomment if you use React",
|
||||
" //.enableReactPreset()",
|
||||
"",
|
||||
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
|
||||
" // requires WebpackEncoreBundle 1.4 or higher",
|
||||
" //.enableIntegrityHashes(Encore.isProduction())",
|
||||
"",
|
||||
" // uncomment if you're having problems with a jQuery plugin",
|
||||
" //.autoProvidejQuery()",
|
||||
";",
|
||||
"",
|
||||
"module.exports = Encore.getWebpackConfig();",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "719f6110345acb6495e496601fc1b4977d7102b3"
|
||||
}
|
||||
}
|
||||
}
|
||||
248
symfony.webpack-encore-bundle.2.1.json
Normal file
248
symfony.webpack-encore-bundle.2.1.json
Normal file
@@ -0,0 +1,248 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/webpack-encore-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"assets/": "assets/",
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"package.json": "package.json",
|
||||
"webpack.config.js": "webpack.config.js"
|
||||
},
|
||||
"gitignore": [
|
||||
"/node_modules/",
|
||||
"/%PUBLIC_DIR%/build/",
|
||||
"npm-debug.log",
|
||||
"yarn-error.log"
|
||||
],
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.4",
|
||||
"symfony/flex": "<1.20.0 || >=2.0.0,<2.3.0"
|
||||
},
|
||||
"add-lines": [
|
||||
{
|
||||
"file": "templates/base.html.twig",
|
||||
"content": " {{ encore_entry_script_tags('app') }}",
|
||||
"position": "after_target",
|
||||
"target": "{% block javascripts %}",
|
||||
"warn_if_missing": true
|
||||
},
|
||||
{
|
||||
"file": "templates/base.html.twig",
|
||||
"content": " {{ encore_entry_link_tags('app') }}",
|
||||
"position": "after_target",
|
||||
"target": "{% block stylesheets %}",
|
||||
"warn_if_missing": true
|
||||
},
|
||||
{
|
||||
"file": ".symfony.local.yaml",
|
||||
"content": " # Watch and build front assets using Webpack Encore\n npm_encore_watch:\n cmd: ['npm', 'run', 'watch']\n # Or instead, run the Webpack Dev Server (https://symfony.com/doc/current/frontend/encore/dev-server.html)\n #npm_encore_dev_server:\n # cmd: ['npm', 'run', 'dev-server']",
|
||||
"position": "after_target",
|
||||
"target": "workers:",
|
||||
"warn_if_missing": true
|
||||
}
|
||||
],
|
||||
"post-install-output": [
|
||||
" * Install NPM and run <fg=green>npm install</>",
|
||||
"",
|
||||
" * Compile your assets for development: <fg=green>npm run dev</>",
|
||||
" ",
|
||||
" * Compile your assets for development and watch for any modifications: <fg=green>npm run watch</>",
|
||||
" ",
|
||||
" * Or start the development server: <fg=green>npm run dev-server</>",
|
||||
" ",
|
||||
" * Compile your assets for production: <fg=green>npm run build</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"assets/app.js": {
|
||||
"contents": [
|
||||
"/*",
|
||||
" * Welcome to your app's main JavaScript file!",
|
||||
" *",
|
||||
" * We recommend including the built version of this JavaScript file",
|
||||
" * (and its CSS file) in your base layout (base.html.twig).",
|
||||
" */",
|
||||
"",
|
||||
"// any CSS you import will output into a single css file (app.css in this case)",
|
||||
"import './styles/app.css';",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"assets/styles/app.css": {
|
||||
"contents": [
|
||||
"body {",
|
||||
" background-color: lightgray;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/webpack_encore.yaml": {
|
||||
"contents": [
|
||||
"webpack_encore:",
|
||||
" # The path where Encore is building the assets - i.e. Encore.setOutputPath()",
|
||||
" output_path: '%kernel.project_dir%/public/build'",
|
||||
" # If multiple builds are defined (as shown below), you can disable the default build:",
|
||||
" # output_path: false",
|
||||
"",
|
||||
" # Set attributes that will be rendered on all script and link tags",
|
||||
" script_attributes:",
|
||||
" defer: true",
|
||||
" # Uncomment (also under link_attributes) if using Turbo Drive",
|
||||
" # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change",
|
||||
" # 'data-turbo-track': reload",
|
||||
" # link_attributes:",
|
||||
" # Uncomment if using Turbo Drive",
|
||||
" # 'data-turbo-track': reload",
|
||||
"",
|
||||
" # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')",
|
||||
" # crossorigin: 'anonymous'",
|
||||
"",
|
||||
" # Preload all rendered script and link tags automatically via the HTTP/2 Link header",
|
||||
" # preload: true",
|
||||
"",
|
||||
" # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data",
|
||||
" # strict_mode: false",
|
||||
"",
|
||||
" # If you have multiple builds:",
|
||||
" # builds:",
|
||||
" # frontend: '%kernel.project_dir%/public/frontend/build'",
|
||||
"",
|
||||
" # pass the build name as the 3rd argument to the Twig functions",
|
||||
" # {{ encore_entry_script_tags('entry1', null, 'frontend') }}",
|
||||
"",
|
||||
"framework:",
|
||||
" assets:",
|
||||
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
|
||||
"",
|
||||
"#when@prod:",
|
||||
"# webpack_encore:",
|
||||
"# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
|
||||
"# # Available in version 1.2",
|
||||
"# cache: true",
|
||||
"",
|
||||
"#when@test:",
|
||||
"# webpack_encore:",
|
||||
"# strict_mode: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"package.json": {
|
||||
"contents": [
|
||||
"{",
|
||||
" \"devDependencies\": {",
|
||||
" \"@babel/core\": \"^7.17.0\",",
|
||||
" \"@babel/preset-env\": \"^7.16.0\",",
|
||||
" \"@symfony/webpack-encore\": \"^5.1.0\",",
|
||||
" \"core-js\": \"^3.38.0\",",
|
||||
" \"regenerator-runtime\": \"^0.13.9\",",
|
||||
" \"webpack\": \"^5.74.0\",",
|
||||
" \"webpack-cli\": \"^5.1.0\"",
|
||||
" },",
|
||||
" \"license\": \"UNLICENSED\",",
|
||||
" \"private\": true,",
|
||||
" \"scripts\": {",
|
||||
" \"dev-server\": \"encore dev-server\",",
|
||||
" \"dev\": \"encore dev\",",
|
||||
" \"watch\": \"encore dev --watch\",",
|
||||
" \"build\": \"encore production --progress\"",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"webpack.config.js": {
|
||||
"contents": [
|
||||
"const Encore = require('@symfony/webpack-encore');",
|
||||
"",
|
||||
"// Manually configure the runtime environment if not already configured yet by the \"encore\" command.",
|
||||
"// It's useful when you use tools that rely on webpack.config.js file.",
|
||||
"if (!Encore.isRuntimeEnvironmentConfigured()) {",
|
||||
" Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');",
|
||||
"}",
|
||||
"",
|
||||
"Encore",
|
||||
" // directory where compiled assets will be stored",
|
||||
" .setOutputPath('public/build/')",
|
||||
" // public path used by the web server to access the output path",
|
||||
" .setPublicPath('/build')",
|
||||
" // only needed for CDN's or subdirectory deploy",
|
||||
" //.setManifestKeyPrefix('build/')",
|
||||
"",
|
||||
" /*",
|
||||
" * ENTRY CONFIG",
|
||||
" *",
|
||||
" * Each entry will result in one JavaScript file (e.g. app.js)",
|
||||
" * and one CSS file (e.g. app.css) if your JavaScript imports CSS.",
|
||||
" */",
|
||||
" .addEntry('app', './assets/app.js')",
|
||||
"",
|
||||
" // When enabled, Webpack \"splits\" your files into smaller pieces for greater optimization.",
|
||||
" .splitEntryChunks()",
|
||||
"",
|
||||
" // will require an extra script tag for runtime.js",
|
||||
" // but, you probably want this, unless you're building a single-page app",
|
||||
" .enableSingleRuntimeChunk()",
|
||||
"",
|
||||
" /*",
|
||||
" * FEATURE CONFIG",
|
||||
" *",
|
||||
" * Enable & configure other features below. For a full",
|
||||
" * list of features, see:",
|
||||
" * https://symfony.com/doc/current/frontend.html#adding-more-features",
|
||||
" */",
|
||||
" .cleanupOutputBeforeBuild()",
|
||||
"",
|
||||
" // Displays build status system notifications to the user",
|
||||
" // .enableBuildNotifications()",
|
||||
"",
|
||||
" .enableSourceMaps(!Encore.isProduction())",
|
||||
" // enables hashed filenames (e.g. app.abc123.css)",
|
||||
" .enableVersioning(Encore.isProduction())",
|
||||
"",
|
||||
" // configure Babel",
|
||||
" // .configureBabel((config) => {",
|
||||
" // config.plugins.push('@babel/a-babel-plugin');",
|
||||
" // })",
|
||||
"",
|
||||
" // enables and configure @babel/preset-env polyfills",
|
||||
" .configureBabelPresetEnv((config) => {",
|
||||
" config.useBuiltIns = 'usage';",
|
||||
" config.corejs = '3.38';",
|
||||
" })",
|
||||
"",
|
||||
" // enables Sass/SCSS support",
|
||||
" //.enableSassLoader()",
|
||||
"",
|
||||
" // uncomment if you use TypeScript",
|
||||
" //.enableTypeScriptLoader()",
|
||||
"",
|
||||
" // uncomment if you use React",
|
||||
" //.enableReactPreset()",
|
||||
"",
|
||||
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
|
||||
" // requires WebpackEncoreBundle 1.4 or higher",
|
||||
" //.enableIntegrityHashes(Encore.isProduction())",
|
||||
"",
|
||||
" // uncomment if you're having problems with a jQuery plugin",
|
||||
" //.autoProvidejQuery()",
|
||||
";",
|
||||
"",
|
||||
"module.exports = Encore.getWebpackConfig();",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "44c7bb2c8bca8bef597154f16e667e65a2e64748"
|
||||
}
|
||||
}
|
||||
}
|
||||
52
symfonycasts.sass-bundle.0.5.json
Normal file
52
symfonycasts.sass-bundle.0.5.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfonycasts/sass-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfonycasts\\SassBundle\\SymfonycastsSassBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"assets/": "assets/"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%PUBLIC_DIR%/assets/"
|
||||
],
|
||||
"add-lines": [
|
||||
{
|
||||
"requires": "symfony/asset-mapper",
|
||||
"file": "config/packages/asset_mapper.yaml",
|
||||
"position": "after_target",
|
||||
"warn_if_missing": true,
|
||||
"target": " missing_import_mode: strict",
|
||||
"content": " excluded_patterns:\n - '**/assets/styles/**/_*.scss'"
|
||||
}
|
||||
],
|
||||
"conflict": {
|
||||
"symfony/asset-mapper": "<6.3"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"assets/styles/app.scss": {
|
||||
"contents": [
|
||||
"// add your SASS styles in this file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/symfonycasts_sass.yaml": {
|
||||
"contents": [
|
||||
"symfonycasts_sass:",
|
||||
" root_sass:",
|
||||
" - 'assets/styles/app.scss'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4fe7a892a9f6f052c64ca2d6ee600cf95716f974"
|
||||
}
|
||||
}
|
||||
}
|
||||
59
symfonycasts.sass-bundle.0.6.json
Normal file
59
symfonycasts.sass-bundle.0.6.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfonycasts/sass-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfonycasts\\SassBundle\\SymfonycastsSassBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"assets/": "assets/"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%PUBLIC_DIR%/assets/"
|
||||
],
|
||||
"add-lines": [
|
||||
{
|
||||
"requires": "symfony/asset-mapper",
|
||||
"file": "config/packages/asset_mapper.yaml",
|
||||
"position": "after_target",
|
||||
"warn_if_missing": true,
|
||||
"target": " missing_import_mode: strict",
|
||||
"content": " excluded_patterns:\n - '**/assets/styles/**/_*.scss'"
|
||||
},
|
||||
{
|
||||
"file": ".symfony.local.yaml",
|
||||
"content": " # Watch and build Sass files\n sass:\n cmd: ['symfony', 'console', 'sass:build', '--watch']",
|
||||
"position": "after_target",
|
||||
"target": "workers:",
|
||||
"warn_if_missing": true
|
||||
}
|
||||
],
|
||||
"conflict": {
|
||||
"symfony/asset-mapper": "<6.3"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"assets/styles/app.scss": {
|
||||
"contents": [
|
||||
"// add your SASS styles in this file",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/symfonycasts_sass.yaml": {
|
||||
"contents": [
|
||||
"symfonycasts_sass:",
|
||||
" root_sass:",
|
||||
" - 'assets/styles/app.scss'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "1f9b0ce2f6afcef3df8c9d86fcfb36ad63c75aa7"
|
||||
}
|
||||
}
|
||||
}
|
||||
31
symfonycasts.tailwind-bundle.0.8.json
Normal file
31
symfonycasts.tailwind-bundle.0.8.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfonycasts/tailwind-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfonycasts\\TailwindBundle\\SymfonycastsTailwindBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/symfonycasts_tailwind.yaml": {
|
||||
"contents": [
|
||||
"symfonycasts_tailwind:",
|
||||
" # Specify the EXACT version of Tailwind CSS you want to use",
|
||||
" binary_version: 'v4.1.11'",
|
||||
"",
|
||||
" # Alternatively, you can specify the path to the binary that you manage yourself",
|
||||
" #binary: 'node_modules/.bin/tailwindcss'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "d0bd0276f74de90adfaa4c6cd74cc0caacd77e0a"
|
||||
}
|
||||
}
|
||||
}
|
||||
40
symfonycasts.tailwind-bundle.0.9.json
Normal file
40
symfonycasts.tailwind-bundle.0.9.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfonycasts/tailwind-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfonycasts\\TailwindBundle\\SymfonycastsTailwindBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"add-lines": [
|
||||
{
|
||||
"file": ".symfony.local.yaml",
|
||||
"content": " # Watch and build CSS files using Tailwind CSS\n tailwind:\n cmd: ['symfony', 'console', 'tailwind:build', '--watch']",
|
||||
"position": "after_target",
|
||||
"target": "workers:",
|
||||
"warn_if_missing": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/symfonycasts_tailwind.yaml": {
|
||||
"contents": [
|
||||
"symfonycasts_tailwind:",
|
||||
" # Specify the EXACT version of Tailwind CSS you want to use",
|
||||
" binary_version: 'v4.1.18'",
|
||||
"",
|
||||
" # Alternatively, you can specify the path to the binary that you manage yourself",
|
||||
" #binary: 'node_modules/.bin/tailwindcss'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "adbb8dfacc3c1482310242bc736781c4bca5eff5"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user