Convert a JSON object to PHP classes with typed properties instantly in your browser. Powered by quicktype-core. One-way. 100% client-side.
The JSON to PHP converter uses `quicktype-core` to generate PHP classes with typed properties from a JSON sample. The output includes constructor assignments and docblock type hints, and follows PHP 8 conventions. Post-processing via js-beautify produces clean indented output. The UML class diagram view visualises the generated class hierarchy.
QWhich PHP version is the output targeting?
The generated output targets PHP 8 conventions, including typed constructor properties.
QIs my data sent to a server?
No. quicktype-core runs in a Web Worker inside your browser.