wol-soft/php-json-schema-model-generator

Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code

57
/ 100
Established

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.

No Package No Dependents
Maintenance 13 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

81

Forks

18

Language

PHP

License

MIT

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.