wol-soft/php-json-schema-model-generator
Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code
Generates models with fluent builder patterns and IDE auto-completion support for nested objects, accepting JSON-Schema from files or OpenAPI v3 specs. Validation rules are transpiled directly into PHP code at generation time, eliminating runtime overhead and enabling static analysis. Designed for API middleware workflows where request data can be validated and instantiated as type-safe models without duplicating schema constraints.
Stars
81
Forks
18
Language
PHP
License
MIT
Category
Last pushed
Mar 06, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/wol-soft/php-json-schema-model-generator"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
jenner/LstGen
Code-Generator für die Lohnsteuerberechnung aus PAP XML
hiqdev/hidev
Automation tool mixed with code generator for easier continuous development
martin-helmich/php-schema2class
Generate PHP classes from JSON schemas
goetas-webservices/xsd2php
Convert XSD into PHP classes and JMS serializer definitions
albireo77/devflowcharter
Flowchart builder and code generator.