martin-helmich/php-schema2class
Generate PHP classes from JSON schemas
This tool helps PHP developers automatically create PHP classes from JSON schemas. You provide a JSON schema (often in YAML format) that describes your data structure, and it generates the corresponding PHP classes, complete with getters, setters, and validation logic. This is for PHP developers who need to work with structured JSON data in their applications.
Use this if you are a PHP developer who frequently integrates with APIs or systems that provide data structured according to a JSON schema, and you want to ensure type-safe and validated data handling in your PHP application.
Not ideal if you are not a PHP developer or if your project does not involve strict adherence to JSON schemas for data exchange.
Stars
36
Forks
16
Language
PHP
License
MIT
Category
Last pushed
Jan 16, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/martin-helmich/php-schema2class"
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
wol-soft/php-json-schema-model-generator
Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code
drupal-code-builder/drupal-code-builder
A library for building Drupal code.
goetas-webservices/xsd2php
Convert XSD into PHP classes and JMS serializer definitions
albireo77/devflowcharter
Flowchart builder and code generator.