martin-helmich/php-schema2class

Generate PHP classes from JSON schemas

51
/ 100
Established

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.

API-integration PHP-development data-modeling schema-validation code-generation
No Package No Dependents
Maintenance 10 / 25
Adoption 7 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

36

Forks

16

Language

PHP

License

MIT

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.