wol-soft/php-json-schema-model-generator
Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code
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.
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
drupal-code-builder/drupal-code-builder
A library for building Drupal code.
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.