Hi,

After searching for many days I was not able to find any good PHP JSON Schema Generator,
most of them seems to have only the ability to validate schema with a JSON payload.

I just found this php-json-schema-generator today but it seems to be not maintained often, it does not have that much documentation also it seems to not be updated with the latest JSON schema draft 2020-12.

Do you have any suggestion for e repository(library) that can generate a schema from the provided JSON payload?

Thank you!

When you say from the provided json payload, what provided json are you referring to? Please provide an example of what the json would look like.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.