consolidation/site-alias
Site Alias lets Laravel apps give each site its own domain aliases and resolve the correct site from the incoming request, with support for multiple aliases per site and fast lookup caching.
consolidation/site-alias is a PHP library for modeling and resolving site aliases—named site definitions used by tools like Drush to target local or remote environments. It parses alias records, represents site specifications, and provides APIs to inspect paths, URIs, and environment details consistently.
How can I help you explore Laravel packages today?