From 9bbf8baa1121e1b8dbf82418a9fa11075986b8d2 Mon Sep 17 00:00:00 2001 From: Outcomer <773021792e@gmail.com> Date: Fri, 16 Jan 2026 00:23:25 +0100 Subject: [PATCH 1/4] Add recipe for outcomer/symfony-json-schema-validation --- .../config/packages/outcomer_validation.yaml | 12 ++++++++++++ .../1.0/manifest.json | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 outcomer/symfony-json-schema-validation/1.0/config/packages/outcomer_validation.yaml create mode 100644 outcomer/symfony-json-schema-validation/1.0/manifest.json diff --git a/outcomer/symfony-json-schema-validation/1.0/config/packages/outcomer_validation.yaml b/outcomer/symfony-json-schema-validation/1.0/config/packages/outcomer_validation.yaml new file mode 100644 index 000000000..dfe2a2cf8 --- /dev/null +++ b/outcomer/symfony-json-schema-validation/1.0/config/packages/outcomer_validation.yaml @@ -0,0 +1,12 @@ +outcomer_validation: + # Path to your JSON Schema files + schemas_path: '%kernel.project_dir%/config/validation/schemas' + + # Base domain for auto-generated schema IDs + schema_domain: 'https://example.com' + + # Custom filters (optional) + # Uncomment and add your custom filters here + #filters: + # uuid: App\Validation\Filter\UuidFilter + # date: App\Validation\Filter\DateFilter diff --git a/outcomer/symfony-json-schema-validation/1.0/manifest.json b/outcomer/symfony-json-schema-validation/1.0/manifest.json new file mode 100644 index 000000000..7cfdf4229 --- /dev/null +++ b/outcomer/symfony-json-schema-validation/1.0/manifest.json @@ -0,0 +1,17 @@ +{ + "bundles": { + "Outcomer\\ValidationBundle\\OutcomerValidationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + " ", + " What's next? ", + " ", + "", + " * Configure your JSON Schema validation in config/packages/outcomer_validation.yaml", + " * Create your first schema in config/validation/schemas/", + " * Read the documentation at https://github.com/outcomer/symfony-json-schema-validation" + ] +} From 74881da3706ae1013aad937398ada7969f5151c9 Mon Sep 17 00:00:00 2001 From: Outcomer <773021792e@gmail.com> Date: Fri, 16 Jan 2026 11:31:46 +0100 Subject: [PATCH 2/4] Add PHP and Symfony framework requirements to manifest.json --- outcomer/symfony-json-schema-validation/1.0/manifest.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/outcomer/symfony-json-schema-validation/1.0/manifest.json b/outcomer/symfony-json-schema-validation/1.0/manifest.json index 7cfdf4229..2a23ccfb0 100644 --- a/outcomer/symfony-json-schema-validation/1.0/manifest.json +++ b/outcomer/symfony-json-schema-validation/1.0/manifest.json @@ -1,4 +1,8 @@ { + "require": { + "php": ">=8.2", + "symfony/framework-bundle": ">=7.4" + }, "bundles": { "Outcomer\\ValidationBundle\\OutcomerValidationBundle": ["all"] }, From 41e5ec1cc6c44bd97c76d94ced7b697d8a16ac0a Mon Sep 17 00:00:00 2001 From: Outcomer <773021792e@gmail.com> Date: Fri, 16 Jan 2026 11:56:22 +0100 Subject: [PATCH 3/4] Refactor manifest.json to remove PHP and Symfony framework requirements --- .../symfony-json-schema-validation/1.0/manifest.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/outcomer/symfony-json-schema-validation/1.0/manifest.json b/outcomer/symfony-json-schema-validation/1.0/manifest.json index 2a23ccfb0..bfc371142 100644 --- a/outcomer/symfony-json-schema-validation/1.0/manifest.json +++ b/outcomer/symfony-json-schema-validation/1.0/manifest.json @@ -1,14 +1,16 @@ { - "require": { - "php": ">=8.2", - "symfony/framework-bundle": ">=7.4" - }, "bundles": { "Outcomer\\ValidationBundle\\OutcomerValidationBundle": ["all"] }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" }, + "extra": { + "symfony": { + "allow-contrib": true, + "require": "^7.4" + } + }, "post-install-output": [ " ", " What's next? ", From 33ddc88d1fe6cbb0d759e56e6ff8766ffadba7b6 Mon Sep 17 00:00:00 2001 From: Outcomer <773021792e@gmail.com> Date: Fri, 16 Jan 2026 12:09:49 +0100 Subject: [PATCH 4/4] Remove Symfony version requirements from manifest.json --- outcomer/symfony-json-schema-validation/1.0/manifest.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/outcomer/symfony-json-schema-validation/1.0/manifest.json b/outcomer/symfony-json-schema-validation/1.0/manifest.json index bfc371142..7cfdf4229 100644 --- a/outcomer/symfony-json-schema-validation/1.0/manifest.json +++ b/outcomer/symfony-json-schema-validation/1.0/manifest.json @@ -5,12 +5,6 @@ "copy-from-recipe": { "config/": "%CONFIG_DIR%/" }, - "extra": { - "symfony": { - "allow-contrib": true, - "require": "^7.4" - } - }, "post-install-output": [ " ", " What's next? ",