Download the PHP package open-code-modeling/json-schema-to-php-ast without Composer
On this page you can find all versions of the php package open-code-modeling/json-schema-to-php-ast. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download open-code-modeling/json-schema-to-php-ast
More information about open-code-modeling/json-schema-to-php-ast
Files in open-code-modeling/json-schema-to-php-ast
Download open-code-modeling/json-schema-to-php-ast
More information about open-code-modeling/json-schema-to-php-ast
Files in open-code-modeling/json-schema-to-php-ast
Vendor open-code-modeling
Package json-schema-to-php-ast
Short Description Provides factories to create PhpParser node visitors from JSON schema e. g. value objects
License MIT
Package json-schema-to-php-ast
Short Description Provides factories to create PhpParser node visitors from JSON schema e. g. value objects
License MIT
Please rate this library. Is it a good library?
Informations about the package json-schema-to-php-ast
JSON Schema to PHP AST
Compiles a JSON schema to PHP classes / value objects via PHP AST.
Installation
Usage
See unit tests in
tests
folder for comprehensive examples.
You can use each value object factory to compose your value object with PHP AST node visitors or high level builder API.
The easiest way to use this library is the ValueObjectFactory
.
Assume you have the following JSON schema
Then you can use the ValueObjectFactory
to generate PHP code for the following classes:
Order
ShippingAddresses
Address
StreetAddress
City
State
All versions of json-schema-to-php-ast with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4 || ^8.0
open-code-modeling/json-schema-to-php Version ^0.3.0 || 0.4.x-dev
open-code-modeling/php-code-ast Version ^0.12.0 || 0.13.x-dev
open-code-modeling/json-schema-to-php Version ^0.3.0 || 0.4.x-dev
open-code-modeling/php-code-ast Version ^0.12.0 || 0.13.x-dev
The package open-code-modeling/json-schema-to-php-ast contains the following files
Loading the files please wait ....