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

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

54
/ 100
Established

This tool helps PHP developers streamline API development by automatically generating PHP model classes from JSON-Schema or OpenAPI v3 definitions. You provide JSON schema files describing your data structures and their validation rules, and it outputs PHP classes that enforce these rules, reducing manual coding and errors. It's designed for PHP developers creating or consuming APIs, ensuring data consistency and providing auto-completion for generated models.

Use this if you are a PHP developer who regularly defines API data structures using JSON-Schema or OpenAPI v3 and wants to automate the creation of corresponding, validated PHP model classes.

Not ideal if you are not a PHP developer or if your project does not extensively use JSON-Schema or OpenAPI for data modeling and validation.

API development PHP programming data modeling API integration schema validation
No Package No Dependents
Maintenance 10 / 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.