beste/json
JSON helpers for PHP and Laravel: decode/encode, safe access, casting, and convenient manipulation of JSON strings and arrays. A lightweight utility package focused on cleaner, less error-prone JSON handling in everyday applications.
Added support for PHP 8.5
Use conditional PHPStan return type to correctly type hint an array when using JSON::decode() and JSON::decodeFile()
Remove requirement that a string must be non-empty
Added support for PHP 8.4
Restored support for PHP 8.1
Added support for PHP 8.3, dropped support for PHP 8.1
Fixed symlinks not being properly resolved
Added more checks when decoding JSON Files
Dropped support for PHP <8.1
Initial release
How can I help you explore Laravel packages today?