Skip to content

axelhahn/php-htpasswd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

php-htpasswd

This PHP 8 class provides an easy way to manage htpasswd files.

After setting a .htpasswd file you can

  • add - a user and password
  • exists - check if a given user exists
  • list - list all uses
  • remove - a user
  • update - a user and password - optional after verifying the current password
  • verify - a password of an existing user

There is a 2nd class to handle .htgoups file too. It can handle goups:

  • add
  • rename
  • delete groups
  • list all groups or members

... and memberships

  • userAdd
  • userRemove

๐Ÿ‘ค Axel Hahn
๐Ÿ“„ Source: https://github.com/axelhahn/php-htpasswd/
๐Ÿ“œ Licence: GNU GPL 3
๐Ÿ“— Docs: https://www.axel-hahn.de/docs/php-htpasswd/

About

PHP class to handle users in a dot-htpasswd file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published