idrinth / config-check
Checks a project recursively for ini, xml, json or yaml-files and validates them whenever possible.
dev-master
2023-08-07 17:55 UTC
Requires
- php: ^7.2 | ^8
- idrinth/yaml-facade: dev-master
- justinrainbow/json-schema: ^5.2.8
Requires (Dev)
- phpunit/phpunit: ^9 | ^8
Suggests
- squizlabs/php_codesniffer: >=3.4 for checking PSR-12 compliance during developement
This package is auto-updated.
Last update: 2024-03-07 19:16:33 UTC
README
This project is checking any project's config files for correctness, including schema validation once implemented.
Supported formats and checks
Format | File | Parseable | Schema |
---|---|---|---|
JSON | X | X | JSON Schema |
YAML | X | X | JSON Schema |
INI | X | X | (JSON Schema planned) |
XML | X | X | DTD, (XSD planned) |
Configuration
Use a .idrinth-cc.json to configure what and how to check, see the one in the root of this repository and the schema to see what is possible.