ozanhazer/php-htpasswd (packagist): A lightweight - single class - library to read and write htpasswd. You can add or delete users or you can update their passwords...
Keywords: php|htpasswd