explode value and json_decode in laravel code example Example: parse json phph echo json_decode("[1,2,3]")[0];