Free Login System PHP MySQL with Google OAuth & OTP
- MySQL database file
- Source code file
- Resale rights
- Edit rights
- Setup guide
- AI setup help

Mohammad Rameez Imdad
Founder of Rameez Scripts. I build these systems myself and help you set them up.
- 33K+YouTube subscribers
- 348+free tutorials
- 4+ yrsbuilding since 2022
Key Features
Description
The authentication layer every PHP project needs, written without Composer and without a single external library. Login, signup, Google OAuth, OTP email, password reset, an admin dashboard β drop it in and start building the thing you actually wanted to build.
Two ways in
Username and password, or Sign in with Google through OAuth 2.0 β both routes landing in the same account. The Google setup is the part that usually stalls people, so a step-by-step guide covers creating the credentials and the redirect URI properly. A remember-me token keeps a user signed in for thirty days.
Email with no PHPMailer
SMTP is implemented in pure PHP. No Composer, no vendor folder, nothing to install on a shared host that will not let you run a package manager. It drives OTP verification at signup and OTP password reset, and there is an SMTP settings page with a test-email button so you can confirm delivery before going live.
Built to survive the internet
Every form carries CSRF protection, login attempts are rate-limited against brute force, and sessions are managed with a force-logout that ends a user's session from the admin side. These are the parts a tutorial login system leaves out and a real one cannot.
The admin side
A dashboard with statistics, full user management, in-app notifications, database backup and restore, maintenance mode, custom theme colours and site branding β with a responsive sidebar and mobile menu. Use it as a finished admin base or as the front door to your own project.
Requirements 5
- PHP 8 or later with MySQL or MariaDB
- Any shared hosting, cPanel or local XAMPP setup β no Composer required
- SMTP credentials for OTP and notification emails
- Google OAuth credentials for Sign in with Google (optional)
- Run setup.php once to build the database
What's Included 13
- Complete PHP and MySQL source code with no external libraries
- Login and signup with username, password and Google OAuth 2.0
- Pure-PHP SMTP mailer β no PHPMailer, no Composer
- OTP email verification and OTP password reset
- Remember-me tokens lasting 30 days
- CSRF protection and login rate limiting
- Admin dashboard with statistics and user management
- Session management with force logout
- In-app notifications, backup and restore, maintenance mode
- Theme colours, site branding and SMTP test-email page
- Step-by-step Google OAuth setup guide
- Step-by-step video walkthrough of the full build
- Free support from the developer
Item Details
| Version | v1.0 |
| Published | Feb 28, 2026 |
| Platform | PHP 8 + MySQL |
| Database | MySQL |
| Category | Login & Authentication |
| Video | Watch walkthrough |
| License | Regular License |
Need this customized for your business?
Extra modules, your branding, integrations or reports built on top of this file. You get a clear quote and timeline before any work starts, and support after delivery.
20–30% advance to start · Clear quote before work begins · Support after delivery
What we customize
- Features & functionsNew features, changes to existing scripts, custom formulas and automations
- API & integrationsWhatsApp, payment gateways, CRM and more
- Design & UI changesYour branding, layout redesign, dark mode, mobile layout
- Full custom projectsDashboards, billing, inventory, CRM, built from scratch
People choose these
What buyers of this file added to the same order
School Management System with All Modules | Fees, Exams, Timetable, Attendance & Hall Tickets
Bought with this one
Free AI CRM in Google Sheets β Full Lead Management System with Apps Script | E39
Bought with this one
I Built an AI-Powered Real Estate CRM in PHP MySQL | Property Management + WhatsApp Automation
Reviews & Feedback
What buyers and YouTube viewers say about this project.