supportpal/accept-language-parser
Parse HTTP Accept-Language headers into an ordered, weighted list of locales and language tags. Handles quality values and wildcards, making it easy to detect a visitor's preferred languages for localization, content negotiation, and multilingual routing in PHP applications.
How can I help you explore Laravel packages today?