php-json-schema-model-generator and php-schema2class

These two tools are competitors, as both generate PHP classes from JSON schemas, but tool A also incorporates validation rules directly into the generated PHP code, a feature not explicitly mentioned for tool B.

php-schema2class
51
Established
Maintenance 10/25
Adoption 9/25
Maturity 16/25
Community 19/25
Maintenance 10/25
Adoption 7/25
Maturity 16/25
Community 18/25
Stars: 81
Forks: 18
Downloads:
Commits (30d): 0
Language: PHP
License: MIT
Stars: 36
Forks: 16
Downloads:
Commits (30d): 0
Language: PHP
License: MIT
No Package No Dependents
No Package No Dependents

About php-json-schema-model-generator

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.

API development PHP programming data modeling API integration schema validation

About php-schema2class

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.

API-integration PHP-development data-modeling schema-validation code-generation

Scores updated daily from GitHub, PyPI, and npm data. How scores work