how to convert string to array in laravel code example Example: string to array in laravel $explode_id = json_decode($request->data, true);