JSON to PHP Array
Convert JSON into PHP array syntax with short [] or long array() style, ready for Laravel config files, seeders and tests. Free and runs in your browser.
Runs in your browser · files never uploaded 100% free
Related tools
PHP Array to JSONConvert a PHP array literal into valid JSON the way json_encode does, with comments, trailing commas and both [] and array() syntax handled. Free, in browser.JSON to GraphQL SchemaGenerate GraphQL type definitions from sample JSON, with Int, Float, ID and non-null fields and nested types named after their fields. Free and in your browser.GraphQL to TypeScript TypesGenerate TypeScript interfaces, enums and unions from a GraphQL schema (SDL), with correct nullability for lists and non-null fields. Free, in your browser.Enum GeneratorTurn a list of values into enums for TypeScript, Java, C#, Python, Go, Kotlin, Swift, Rust, PHP, C++ or Dart, with string or number values. Free.Java Getter Setter GeneratorGenerate getters, setters, constructors, toString, equals and hashCode from Java fields, following JavaBeans naming like isActive(). Free and in your browser.TypeScript FormatterFormat TypeScript and TSX code with Prettier rules, choosing print width, indent, quotes, semicolons and trailing commas, with clear errors. Free.