diff --git a/archived/doctrine.doctrine-bundle/018748af7d7e778bfd2eade71d3fec72faaa2440.json b/archived/doctrine.doctrine-bundle/018748af7d7e778bfd2eade71d3fec72faaa2440.json new file mode 100644 index 00000000..a3f1a380 --- /dev/null +++ b/archived/doctrine.doctrine-bundle/018748af7d7e778bfd2eade71d3fec72faaa2440.json @@ -0,0 +1,137 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"", + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", + "\tdocker-php-ext-install -j$(nproc) pdo_pgsql; \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-16}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", + " POSTGRES_USER: ${POSTGRES_USER:-app}", + " volumes:", + " - database_data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "database_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (16) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '16'", + " use_savepoints: true", + " orm:", + " auto_generate_proxy_classes: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " type: annotation", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "" + ], + "executable": false + }, + "config/packages/prod/doctrine.yaml": { + "contents": [ + "doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + "framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "config/packages/test/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname: 'main_test%env(default::TEST_TOKEN)%'", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "018748af7d7e778bfd2eade71d3fec72faaa2440" + } + } +} diff --git a/archived/doctrine.doctrine-bundle/17a8aa6f671ae0d2b557f19b7b0d4ccd992aa57d.json b/archived/doctrine.doctrine-bundle/17a8aa6f671ae0d2b557f19b7b0d4ccd992aa57d.json new file mode 100644 index 00000000..faa25ad2 --- /dev/null +++ b/archived/doctrine.doctrine-bundle/17a8aa6f671ae0d2b557f19b7b0d4ccd992aa57d.json @@ -0,0 +1,133 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"", + "#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"", + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" + }, + "dockerfile": [ + "RUN install-php-extensions pdo_pgsql" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-16}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", + " POSTGRES_USER: ${POSTGRES_USER:-app}", + " volumes:", + " - database_data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "database_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "conflict": { + "doctrine/orm": "<2.14", + "symfony/dependency-injection": "<6.2", + "symfony/framework-bundle": "<5.3" + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (16) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '16'", + " use_savepoints: true", + " orm:", + " auto_generate_proxy_classes: true", + " enable_lazy_ghost_objects: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "", + "when@test:", + " doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "", + "when@prod:", + " doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + " framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "17a8aa6f671ae0d2b557f19b7b0d4ccd992aa57d" + } + } +} diff --git a/archived/doctrine.doctrine-bundle/498e6f872a673b670f8b90435e6a93ae0012758b.json b/archived/doctrine.doctrine-bundle/498e6f872a673b670f8b90435e6a93ae0012758b.json new file mode 100644 index 00000000..394c481f --- /dev/null +++ b/archived/doctrine.doctrine-bundle/498e6f872a673b670f8b90435e6a93ae0012758b.json @@ -0,0 +1,130 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8\"", + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\", + "\tdocker-php-ext-install -j$(nproc) pdo_pgsql && \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5 && \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-16}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", + " POSTGRES_USER: ${POSTGRES_USER:-app}", + " volumes:", + " - database_data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "database_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (16) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '16'", + " use_savepoints: true", + " orm:", + " auto_generate_proxy_classes: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " type: annotation", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "" + ], + "executable": false + }, + "config/packages/prod/doctrine.yaml": { + "contents": [ + "doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " metadata_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + "framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "498e6f872a673b670f8b90435e6a93ae0012758b" + } + } +} diff --git a/archived/doctrine.doctrine-bundle/81769aac11f7bf18fa5b5956b1395119e1730f70.json b/archived/doctrine.doctrine-bundle/81769aac11f7bf18fa5b5956b1395119e1730f70.json new file mode 100644 index 00000000..c446f78a --- /dev/null +++ b/archived/doctrine.doctrine-bundle/81769aac11f7bf18fa5b5956b1395119e1730f70.json @@ -0,0 +1,136 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"", + "#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"", + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", + "\tdocker-php-ext-install -j\"$(nproc)\" pdo_pgsql; \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-16}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", + " POSTGRES_USER: ${POSTGRES_USER:-app}", + " volumes:", + " - database_data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "database_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "conflict": { + "doctrine/orm": "<2.14", + "symfony/dependency-injection": "<6.2", + "symfony/framework-bundle": "<5.3" + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (16) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '16'", + " use_savepoints: true", + " orm:", + " auto_generate_proxy_classes: true", + " enable_lazy_ghost_objects: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "", + "when@test:", + " doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "", + "when@prod:", + " doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + " framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "81769aac11f7bf18fa5b5956b1395119e1730f70" + } + } +} diff --git a/archived/doctrine.doctrine-bundle/c170ded8fc587d6bd670550c43dafcf093762245.json b/archived/doctrine.doctrine-bundle/c170ded8fc587d6bd670550c43dafcf093762245.json new file mode 100644 index 00000000..832640dc --- /dev/null +++ b/archived/doctrine.doctrine-bundle/c170ded8fc587d6bd670550c43dafcf093762245.json @@ -0,0 +1,138 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"", + "#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"", + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" + }, + "dockerfile": [ + "RUN install-php-extensions pdo_pgsql" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-16}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", + " POSTGRES_USER: ${POSTGRES_USER:-app}", + " volumes:", + " - database_data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "database_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "conflict": { + "doctrine/orm": "<2.14", + "symfony/dependency-injection": "<6.2", + "symfony/framework-bundle": "<5.3" + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (16) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '16'", + "", + " profiling_collect_backtrace: '%kernel.debug%'", + " use_savepoints: true", + " orm:", + " auto_generate_proxy_classes: true", + " enable_lazy_ghost_objects: true", + " report_fields_where_declared: true", + " validate_xml_mapping: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " type: attribute", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "", + "when@test:", + " doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "", + "when@prod:", + " doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + " framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "c170ded8fc587d6bd670550c43dafcf093762245" + } + } +} diff --git a/archived/doctrine.doctrine-bundle/cc62b7e9470998c640ee99d284a013a676f1fc5e.json b/archived/doctrine.doctrine-bundle/cc62b7e9470998c640ee99d284a013a676f1fc5e.json new file mode 100644 index 00000000..ce1d921b --- /dev/null +++ b/archived/doctrine.doctrine-bundle/cc62b7e9470998c640ee99d284a013a676f1fc5e.json @@ -0,0 +1,132 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"", + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", + "\tdocker-php-ext-install -j$(nproc) pdo_pgsql; \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-16}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", + " POSTGRES_USER: ${POSTGRES_USER:-app}", + " volumes:", + " - database_data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "database_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "conflict": { + "symfony/framework-bundle": "<5.3" + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (16) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '16'", + " use_savepoints: true", + " orm:", + " auto_generate_proxy_classes: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "", + "when@test:", + " doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "", + "when@prod:", + " doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + " framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "cc62b7e9470998c640ee99d284a013a676f1fc5e" + } + } +} diff --git a/doctrine.doctrine-bundle.2.0.json b/doctrine.doctrine-bundle.2.0.json index 742553b6..394c481f 100644 --- a/doctrine.doctrine-bundle.2.0.json +++ b/doctrine.doctrine-bundle.2.0.json @@ -69,6 +69,7 @@ " # IMPORTANT: You MUST configure your server version,", " # either here or in the DATABASE_URL env var (see .env file)", " #server_version: '16'", + " use_savepoints: true", " orm:", " auto_generate_proxy_classes: true", " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", @@ -123,7 +124,7 @@ "executable": false } }, - "ref": "4bccd806dc647513ad379f7ffeb9555d0cb1cfb0" + "ref": "498e6f872a673b670f8b90435e6a93ae0012758b" } } } diff --git a/doctrine.doctrine-bundle.2.10.json b/doctrine.doctrine-bundle.2.10.json index b7ead3f1..832640dc 100644 --- a/doctrine.doctrine-bundle.2.10.json +++ b/doctrine.doctrine-bundle.2.10.json @@ -74,6 +74,7 @@ " #server_version: '16'", "", " profiling_collect_backtrace: '%kernel.debug%'", + " use_savepoints: true", " orm:", " auto_generate_proxy_classes: true", " enable_lazy_ghost_objects: true", @@ -131,7 +132,7 @@ "executable": false } }, - "ref": "310a02a22033e35640468f48ff6bf31a25891537" + "ref": "c170ded8fc587d6bd670550c43dafcf093762245" } } } diff --git a/doctrine.doctrine-bundle.2.3.json b/doctrine.doctrine-bundle.2.3.json index ab68f037..a3f1a380 100644 --- a/doctrine.doctrine-bundle.2.3.json +++ b/doctrine.doctrine-bundle.2.3.json @@ -69,6 +69,7 @@ " # IMPORTANT: You MUST configure your server version,", " # either here or in the DATABASE_URL env var (see .env file)", " #server_version: '16'", + " use_savepoints: true", " orm:", " auto_generate_proxy_classes: true", " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", @@ -130,7 +131,7 @@ "executable": false } }, - "ref": "13f12b59a228240cb9627eea59890edf05f2040c" + "ref": "018748af7d7e778bfd2eade71d3fec72faaa2440" } } } diff --git a/doctrine.doctrine-bundle.2.4.json b/doctrine.doctrine-bundle.2.4.json index b1719e33..ce1d921b 100644 --- a/doctrine.doctrine-bundle.2.4.json +++ b/doctrine.doctrine-bundle.2.4.json @@ -72,6 +72,7 @@ " # IMPORTANT: You MUST configure your server version,", " # either here or in the DATABASE_URL env var (see .env file)", " #server_version: '16'", + " use_savepoints: true", " orm:", " auto_generate_proxy_classes: true", " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", @@ -125,7 +126,7 @@ "executable": false } }, - "ref": "191046a1fdd1a58fcca48d8bf2f58c45a93b1d00" + "ref": "cc62b7e9470998c640ee99d284a013a676f1fc5e" } } } diff --git a/doctrine.doctrine-bundle.2.8.json b/doctrine.doctrine-bundle.2.8.json index d58c07c6..c446f78a 100644 --- a/doctrine.doctrine-bundle.2.8.json +++ b/doctrine.doctrine-bundle.2.8.json @@ -75,6 +75,7 @@ " # IMPORTANT: You MUST configure your server version,", " # either here or in the DATABASE_URL env var (see .env file)", " #server_version: '16'", + " use_savepoints: true", " orm:", " auto_generate_proxy_classes: true", " enable_lazy_ghost_objects: true", @@ -129,7 +130,7 @@ "executable": false } }, - "ref": "d37daaaa98aa09fcfc2016ff25e42b6992daf8d9" + "ref": "81769aac11f7bf18fa5b5956b1395119e1730f70" } } } diff --git a/doctrine.doctrine-bundle.2.9.json b/doctrine.doctrine-bundle.2.9.json index bb2ce482..faa25ad2 100644 --- a/doctrine.doctrine-bundle.2.9.json +++ b/doctrine.doctrine-bundle.2.9.json @@ -72,6 +72,7 @@ " # IMPORTANT: You MUST configure your server version,", " # either here or in the DATABASE_URL env var (see .env file)", " #server_version: '16'", + " use_savepoints: true", " orm:", " auto_generate_proxy_classes: true", " enable_lazy_ghost_objects: true", @@ -126,7 +127,7 @@ "executable": false } }, - "ref": "f3c1c7a146ca3f321bdc67bf46bfee35befbe08a" + "ref": "17a8aa6f671ae0d2b557f19b7b0d4ccd992aa57d" } } }