Have you looked at the ESP 8266 12E microcontroller family?
These seem to be replacing Arduino's in the maker community for reasons of cost and functionality.
It also has onboard WIFI and analog as well as digital I/O capability ( but less ports than Arduino ), and uses the same IDE as the Arduino to program.
https://www.amazon.co.uk/gp/product/B07ZCMZW9Q/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1