Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Actively maintained PHP libraries for user authentication? [closed]

I'm aware of the risks of rolling your own user authentication scripts, but I'm also wary of using packages that don't seem to be actively maintained: the current version of PEAR LiveUser is almost a year old.

Please recommend (and argue the case for) an actively-maintained user-authentication library which can be integrated into an existing web project. It should ideally support various roles - anonymous users, registered users and administrators at various levels.

like image 824
Ken Avatar asked Jan 05 '09 18:01

Ken


3 Answers

It sounds like what you want is a user control library, rather than an authentication library.

For example, in the Zend Framework there are two classes: Zend_Auth (which handles user authentication: logins (e.g. simple database tables to OpenID)) and Zend_Acl (which handles the user access side of things).

I quite like the ZF classes - I haven't tried using them outside of a ZF project but most of their classes can so give it a try. Even if you decide to build your own they'd be useful for reference.

like image 80
Ross Avatar answered Nov 17 '22 22:11

Ross


It looks to me like PEAR hasn't changed much because it's stable. I wouldn't be afraid of using it.

like image 26
EdgarVerona Avatar answered Nov 17 '22 21:11

EdgarVerona


http://ulogin.sourceforge.net/

Is quite secure and well-thought. It's also very configurable.

like image 3
Martin_Lakes Avatar answered Nov 17 '22 22:11

Martin_Lakes