pflorek/php-basic-auth (packagist): Provides a simple way to get or set credentials (username, password) on a PSR-7 `RequestInterface`. Also it helps challenging an unauthorized client by adding the 'WWW-authenticate' header line with status code 401 to a PSR-7 `ResponseInterface`.
Keywords: authorization|http|response|request|psr-7|realm|basicauth|WWW-Authentocate|RFC 7617