open-code-modeling/json-schema-to-php-ast
Provides factories to create PhpParser node visitors or PHP Code AST class builder objects from JSON schema e. g. value objects
This tool helps PHP developers automatically generate PHP classes, often called value objects, directly from a JSON schema. You provide a JSON schema that defines your data structures, and the tool outputs the corresponding PHP code files. It's designed for developers who build PHP applications and need to ensure their code accurately reflects their data models.
No commits in the last 6 months.
Use this if you are a PHP developer who frequently defines data structures using JSON schema and wants to automate the creation of robust PHP classes for those definitions.
Not ideal if you are not a PHP developer or if your data structures are not defined using JSON schema.
Stars
11
Forks
—
Language
PHP
License
MIT
Category
Last pushed
Nov 06, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/open-code-modeling/json-schema-to-php-ast"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
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.
martin-helmich/php-schema2class
Generate PHP classes from JSON schemas
goetas-webservices/xsd2php
Convert XSD into PHP classes and JMS serializer definitions