Home > programming > User management framework?

User management framework?

September 30th, 2009

Some weeks ago I started working on a project that required a basic user management (sign up, sign in, authentication, user profile etc.) and, instead of writing everything I spent some time looking for a sort php framework, or group of classes, easily-extendable and easy-customizable to see if I could save some time.

I didn’t find anything suitable – do not even name those ultra-popular hyper-heavy frameworks, my personal projects run on a cheap hosting where I can’t customize the php.ini nor install libraries – so I ended up writing that code.

You can see a live example of the package here, feel free to sign up, sign in, unsubscribe or hack it. Actually, if you hack it, I’d be glad if you shared in a comment how you managed to, so that together we can improve its security.

If you want to see the source code (or want to use it on your own project), it’s available here.

Features

  • User sign up, with email double check (confirm the registration via existing email address)
  • User sign in, with captcha if the user makes too many wrong login attempts
  • Password reminder
  • User profile
  • Change email (with confirmation)
  • Change password
  • Unsubscribe

Installation

Just edit the inc/config.php file and everything should work as in the live example.

Customization

Customize the code is pretty easy (even if I didn’t commented everything) because almost everything is object oriented. Extend the User class or add properties if you need more user data, and edit methods to manage it.

devu programming , , , , , ,

  1. No comments yet.
  1. No trackbacks yet.