Sometimes a documentation page provides more in depth into a topic than an actual blog post. I find the documentation around #IDN feature in league/uri to be just that. Informative, to the point with best practices rolled into one #php #uri
#thephpleague
https://uri.thephpleague.com/interfaces/7.0/idn/
IDN - Domain Internationalization - URI

Modern API to process URIs in PHP