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