Compatible with iOS 11 to 15
Generate a QR code for WiFi networks directly in the settings app.
Scroll down and press "Share current WiFi" or view a networks information and press "Share this WiFi"
It also contains a control center toggle that allows you to quickly generate a QR for your current network directly from the control center.