dandydev/reg-domain (packagist): RegisteredDomain is a simple library to extract the hostname from an URL in a consistent manner
Keywords: parse|domain extraction