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
This commit is contained in:
David Evdoshchenko
2026-01-20 01:17:04 +01:00
committed by GitHub
parent 7a32ad7955
commit fd2b29af77
2 changed files with 29 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1,17 @@
{
"bundles": {
"Outcomer\\ValidationBundle\\OutcomerValidationBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> What's next? </>",
"<bg=blue;fg=white> </>",
"",
" * <fg=blue>Configure</> your JSON Schema validation in <comment>config/packages/outcomer_validation.yaml</>",
" * <fg=blue>Create</> your first schema in <comment>config/validation/schemas/</>",
" * <fg=blue>Read</> the documentation at <comment>https://github.com/outcomer/symfony-json-schema-validation</>"
]
}