four similar versions
The original project (which tried to build a proper alternative to all these horribly wrong, insecure and outdated login tutorials on the web) has grown to 4 independent scripts, each one useful for different use-cases and coding-skill levels.
professional mvc version
Naked MVC application, URL rewriting, Facebook-login, PDO, Composer integration, PHPMailer, avatars, account upgrade/downgrade and much more ...
Similar to the minimal version, but full of features. Uses PDO, password-reset, cookies, captcha, mail sending via SMTP and much more.
All the basic functions in a clean file structure, uses MySQL and mysqli. Features: Register, login, logout.
Full login script in one file plus a one-file SQLite database (no MySQL needed) and PDO. Features: Register, login, logout.