How to Turn On/Off Silent Mode Without the Switch on iPhone

You're not stuck with the iPhone's physical ring/silent switch.

How to Turn On/Off Silent Mode Without the Switch on iPhone

The original iPhone featured a physical Ring/Silent switch on the left side, and it has carried over to every iPhone since. This is the only way to switch between ring mode and silent modeor is it?