PHP modules & starter kits
Secure Login & Authentication System
A ready-to-use login system in plain PHP and MySQL. Drop it into a new project and get registration, login, logout, 'remember me' and password reset working in minutes.
Passwords are hashed with password_hash(), every form is CSRF-protected, queries use PDO prepared statements and sessions are regenerated on login.
The code is a small, readable MVC structure with no framework, so it is easy to extend. Reset emails use PHP mail() or write to a log file while you develop.
What's included
- Register, login, logout and remember-me
- Forgot password with expiring, single-use reset links
- password_hash() hashing and PDO prepared statements
- CSRF protection on every form
- Protected dashboard page example
- Small MVC structure, PHP 8.1+ and MySQL/MariaDB
- SQL schema and setup guide included
How it works
- 1. Pay securelyCheck out online. Prices are in USD.
- 2. Get your linkYour download link appears after payment and is emailed to you.
- 3. Need help?Contact me for setup help or a customised version.