keltuo / jsonschema-php-generator
Generate Json schema from php classes. (From class Schema, Definitions)
Installs: 2 486
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=8.0
- ext-json: *
- justinrainbow/json-schema: dev-master
Requires (Dev)
- jetbrains/phpstorm-attributes: ^1.0
- phpstan/phpstan: ^1.2.0
- phpunit/phpunit: ^9.5
- slevomat/coding-standard: ^7.0
- squizlabs/php_codesniffer: *
README
Generate Json schema from php classes.
Steps
See folder Examples of using [src/Examples]
###Example definitions
- see Example definition [src/Definition/Example.php]
- see Example EnumValues definition [src/Definition/ExampleEnumValues.php]
###Example schema
- see Example schema [src/Schema/Example.php]