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