Phone Screen Mirroring on PC?

I know it’s possible to plug a mobile device into a computer (I have a Windows 11 and Windows 10 machine) and I know Zappar staff have done it to show what’s happening on screen during live demos.

My quesiton is, what’s everyone’s preferred way to screen mirror? I have an android phone, but have access to iOS mobile devices as well.