ElkArte Community

General => Chit Chat => Topic started by: emanuele on July 15, 2017, 06:54:19 am

Title: PHP user management library?
Post by: emanuele on July 15, 2017, 06:54:19 am
I'm starting a "personal" project and I'd need to manage users (registration/roles/authentication/all the mumbo jumbo), so I was wondering if there is any library out there that could deal with that "out of the box".
I don't have any particularly complex need (I think), the db-table I was thinking was roughly:
id
first name
surname
phone contact
email address
preferred contact
password
reset password
I would prefer have this part ready instead of having to build it. I also considered Elk as backend, but honestly I don't want to build what I need on top of another complete solution, I would prefer to have the flexibility coming from a library of sort (i.e. ideally $user = new User('name', 'password/cookies token'); if ($user->isValud() {echo 'Cool!';} else {echo 'GTFO!';} or something along the lines).

Does anyone of you know about anything of the sort? O:-)
Title: Re: PHP user management library?
Post by: Frenzie on July 15, 2017, 07:21:56 am
I assume you already did a basic search, but in any case here's some stuff: https://stackoverflow.com/questions/10562715/php-login-registration-user-management-script

UserFrosting (https://www.userfrosting.com/) looks pretty interesting.
Title: Re: PHP user management library?
Post by: emanuele on July 15, 2017, 10:54:45 am
I did some very quick search, but I wanted to hear from someone I trust a little more than the first random internet user. :P
Title: Re: PHP user management library?
Post by: Frenzie on July 15, 2017, 11:42:26 am
Unfortunately I don't count. I don't have practical experience with any of 'em. :)
Title: Re: PHP user management library?
Post by: Trekkie101 on July 28, 2017, 04:57:23 pm
Doesnt CodeIgnitor do this?
Title: Re: PHP user management library?
Post by: Joshua Dickerson on July 28, 2017, 07:25:46 pm
There's a bunch of Laravel libraries that do this.