diff --git a/RECIPES.md b/RECIPES.md index 069f868f..9c031025 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -444,7 +444,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [overblog/graphql-bundle](https://packagist.org/packages/overblog/graphql-bundle) | [0.12](overblog/graphql-bundle/0.12) | | [pablok/supercache-bundle](https://packagist.org/packages/pablok/supercache-bundle) | [0.5](pablok/supercache-bundle/0.5) | | [pasaiakoudala/authbundle](https://packagist.org/packages/pasaiakoudala/authbundle) | [0.1](pasaiakoudala/authbundle/0.1) | -| [patchlevel/event-sourcing-bundle](https://packagist.org/packages/patchlevel/event-sourcing-bundle) | [3.0](patchlevel/event-sourcing-bundle/3.0) | +| [patchlevel/event-sourcing-bundle](https://packagist.org/packages/patchlevel/event-sourcing-bundle) | [3.6](patchlevel/event-sourcing-bundle/3.6) | | [payplug/sylius-payplug-plugin](https://packagist.org/packages/payplug/sylius-payplug-plugin) | [0.2](payplug/sylius-payplug-plugin/0.2) | | [payum/payum-bundle](https://packagist.org/packages/payum/payum-bundle) | [2.4](payum/payum-bundle/2.4) | | [pentatrion/upload-bundle](https://packagist.org/packages/pentatrion/upload-bundle) | [0.2](pentatrion/upload-bundle/0.2) | diff --git a/archived/patchlevel.event-sourcing-bundle/ed573fa461f2c29b46e8f29c28ee64dcffd276d2.json b/archived/patchlevel.event-sourcing-bundle/ed573fa461f2c29b46e8f29c28ee64dcffd276d2.json new file mode 100644 index 00000000..9e395ab6 --- /dev/null +++ b/archived/patchlevel.event-sourcing-bundle/ed573fa461f2c29b46e8f29c28ee64dcffd276d2.json @@ -0,0 +1,94 @@ +{ + "manifests": { + "patchlevel/event-sourcing-bundle": { + "manifest": { + "bundles": { + "Patchlevel\\EventSourcingBundle\\PatchlevelEventSourcingBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "migrations/": "migrations/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#3": "", + "#4": "EVENTSTORE_URL=\"pdo-sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "EVENTSTORE_URL=\"pdo-mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.2\"", + "EVENTSTORE_URL": "pdo-pgsql://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": [ + "eventstore:", + " 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:", + " - eventstore_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": [ + "eventstore_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "eventstore:", + " ports:", + " - \"5432\"" + ] + } + }, + "post-install-output": [ + " * Modify your EVENTSTORE_URL config in .env" + ] + }, + "files": { + "config/packages/patchlevel_event_sourcing.yaml": { + "contents": [ + "patchlevel_event_sourcing:", + " aggregates: '%kernel.project_dir%/src'", + " events: '%kernel.project_dir%/src'", + " connection:", + " url: '%env(EVENTSTORE_URL)%'", + " provide_dedicated_connection: true", + "", + "when@dev:", + " patchlevel_event_sourcing:", + " subscription:", + " catch_up: true", + " throw_on_error: true", + " run_after_aggregate_save: true", + " rebuild_after_file_change: true", + " auto_setup: true", + "", + "when@test:", + " patchlevel_event_sourcing:", + " subscription:", + " catch_up: true", + " throw_on_error: true", + " run_after_aggregate_save: true", + "" + ], + "executable": false + }, + "migrations/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "ed573fa461f2c29b46e8f29c28ee64dcffd276d2" + } + } +} diff --git a/index.json b/index.json index ca9e23fb..a8b0afb5 100644 --- a/index.json +++ b/index.json @@ -1411,7 +1411,8 @@ "1.0", "1.2", "2.0", - "3.0" + "3.0", + "3.6" ], "payplug/sylius-payplug-plugin": [ "0.2" diff --git a/patchlevel.event-sourcing-bundle.3.6.json b/patchlevel.event-sourcing-bundle.3.6.json new file mode 100644 index 00000000..9e395ab6 --- /dev/null +++ b/patchlevel.event-sourcing-bundle.3.6.json @@ -0,0 +1,94 @@ +{ + "manifests": { + "patchlevel/event-sourcing-bundle": { + "manifest": { + "bundles": { + "Patchlevel\\EventSourcingBundle\\PatchlevelEventSourcingBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "migrations/": "migrations/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#3": "", + "#4": "EVENTSTORE_URL=\"pdo-sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "EVENTSTORE_URL=\"pdo-mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.2\"", + "EVENTSTORE_URL": "pdo-pgsql://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": [ + "eventstore:", + " 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:", + " - eventstore_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": [ + "eventstore_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "eventstore:", + " ports:", + " - \"5432\"" + ] + } + }, + "post-install-output": [ + " * Modify your EVENTSTORE_URL config in .env" + ] + }, + "files": { + "config/packages/patchlevel_event_sourcing.yaml": { + "contents": [ + "patchlevel_event_sourcing:", + " aggregates: '%kernel.project_dir%/src'", + " events: '%kernel.project_dir%/src'", + " connection:", + " url: '%env(EVENTSTORE_URL)%'", + " provide_dedicated_connection: true", + "", + "when@dev:", + " patchlevel_event_sourcing:", + " subscription:", + " catch_up: true", + " throw_on_error: true", + " run_after_aggregate_save: true", + " rebuild_after_file_change: true", + " auto_setup: true", + "", + "when@test:", + " patchlevel_event_sourcing:", + " subscription:", + " catch_up: true", + " throw_on_error: true", + " run_after_aggregate_save: true", + "" + ], + "executable": false + }, + "migrations/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "ed573fa461f2c29b46e8f29c28ee64dcffd276d2" + } + } +}