Need a customized project? We build it to your exact requirements.Contact us on WhatsApp

Free Login System PHP MySQL with Google OAuth & OTP

EP1 Login & Authentication Pro Business PHP Pass
Need a Custom System? We Build It From Scratch
How to Build Free PHP Login System with Google OAuth - EP1
You get
  • MySQL database file
  • Source code file
  • Resale rights
  • Edit rights
  • Setup guide
  • AI setup help
Built and supported by

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

Login and signup with username and password Google OAuth 2.0 login and signup Pure PHP SMTP email with no PHPMailer OTP email verification Forgot password with OTP reset Remember me with 30-day token CSRF protection on every form Rate-limited login attempts Admin dashboard with stats User management CRUD Session management and force logout In-app notification system Database backup and restore Maintenance mode Custom theme colours Site branding settings SMTP setup page with test email Step-by-step Google OAuth setup guide Responsive sidebar and mobile menu No Composer and no external libraries

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

Versionv1.0
PublishedFeb 28, 2026
PlatformPHP 8 + MySQL
DatabaseMySQL
CategoryLogin & Authentication
VideoWatch walkthrough
LicenseRegular License
Get this source code free EP1
  • Full source code
  • MySQL database
  • Setup guide

Unlock in 1 step

Subscription Verification Required
This is a free file. Subscribe to our YouTube channel to unlock the PHP source code + database. One click β€” no payment. Google only confirms you are subscribed.
Verify Now
Free download

Verify your subscription

Subscribed to the channel? Verify in one click and download the source code.

What you get

  • PHP source filesEvery file in the project, ready to run
  • MySQL databaseOne .sql file to import
  • Setup guideInstall steps from start to finish

Google only checks your subscription No payment, no card

Not subscribed yet?

Subscribe on YouTube
4.928 ratings on this siteSee reviews
White label Resale allowed Free bug fixes Lifetime updates
Free download Full source code Setup guide Edit + resale rights License & unlock detailsHide details
  • Regular license, full rights

    White label: your own brand, no Rameez Scripts credit needed. Modify it, use it on unlimited projects and resell it. Only condition: no video content about the product.

  • How the unlock works

    No payment and no card. Google is used only to confirm your YouTube subscription.

  • Setup guide

    The step-by-step PHP setup guide opens right after the download.

Get a custom version for your business

Your features, branding and reports, built on this system. Free quote before any work starts.

Chat on WhatsApp
Custom development

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.

400+Projects delivered
91+Countries served

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

Reviews & Feedback

What buyers and YouTube viewers say about this project.

Sort
@akinduyiteadeolu2640 via YouTube
Pls free source code
1 like on YouTube
@omarjara5620 via YouTube
Will there be a Spanish translation for the video?
@irfanchauhan495 via YouTube
Brother, Great Work.... You are making such easy things for us...