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