Skip to content

Commit fd2b29a

Browse files
authored
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
1 parent 7a32ad7 commit fd2b29a

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
outcomer_validation:
2+
# Path to your JSON Schema files
3+
schemas_path: '%kernel.project_dir%/config/validation/schemas'
4+
5+
# Base domain for auto-generated schema IDs
6+
schema_domain: 'https://example.com'
7+
8+
# Custom filters (optional)
9+
# Uncomment and add your custom filters here
10+
#filters:
11+
# uuid: App\Validation\Filter\UuidFilter
12+
# date: App\Validation\Filter\DateFilter
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"bundles": {
3+
"Outcomer\\ValidationBundle\\OutcomerValidationBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"post-install-output": [
9+
"<bg=blue;fg=white> </>",
10+
"<bg=blue;fg=white> What's next? </>",
11+
"<bg=blue;fg=white> </>",
12+
"",
13+
" * <fg=blue>Configure</> your JSON Schema validation in <comment>config/packages/outcomer_validation.yaml</>",
14+
" * <fg=blue>Create</> your first schema in <comment>config/validation/schemas/</>",
15+
" * <fg=blue>Read</> the documentation at <comment>https://github.com/outcomer/symfony-json-schema-validation</>"
16+
]
17+
}

0 commit comments

Comments
 (0)