json-to-php-generator
json-to-php-generator copied to clipboard
Generate PHP classes from json
### Source ```json { "elements": { "test": 1, "elements": [ { "elements": { "test": 1, "elements": [] } } ] } } ``` ### Result ```php final class RootObject {...
Hello, your project is very good, but I believe we could add a checkbox that would include the type doc string. This is useful for older versions of PHP. Can...
Exemple: ```json { "data": [ { "id": 1, "name": "bob", "categories": [ { "name": "test" } ] } ] } ``` We get with default options: ```php
I tottaly missed the download button as it's a really small grey icon. It would help to show some text and make it a different color
Thank you for a great project. I often am needing a toArray() method that returns an array for some of my classes. In similar fashion to the fromJson() option, is...