From fd2b29af779f46ba18d31b1ca9d81b75d7eb79a4 Mon Sep 17 00:00:00 2001 From: David Evdoshchenko <40342952+outcomer@users.noreply.github.com> Date: Tue, 20 Jan 2026 01:17:04 +0100 Subject: [PATCH] Add recipe for outcomer/symfony-json-schema-validation (#1923) * Add recipe for outcomer/symfony-json-schema-validation * Add PHP and Symfony framework requirements to manifest.json * Refactor manifest.json to remove PHP and Symfony framework requirements * Remove Symfony version requirements from manifest.json --- .../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 00000000..dfe2a2cf --- /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 00000000..7cfdf422 --- /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" + ] +}