Skip to content

QR Code Generator — Free PHP Script for Website, WiFi, UPI & Contact QR Codes

3 downloads 23 views Updated 21 hours ago
QR Code Generator — Free PHP Script for Website, WiFi, UPI & Contact QR Codes
Price
Free
No cost
Downloads
3
Category
PHP Scripts
Last update
Nov 17, 2026
License
MIT / Free use
Reviewed by our team before publishing

About this code

QR Code Generator — Free PHP Script

Generate QR codes for your website, WiFi password, UPI payments, contact card, email or phone — directly from your own hosting. No signup, no API key, no third-party service, no monthly fee. Upload the files, open the page, and your QR generator is live in 2 minutes.

Perfect for shopkeepers (print a UPI payment QR for the counter), cafes and salons (WiFi QR on the table), freelancers (contact QR on a business card), and any website that needs a QR code without paying a SaaS tool every month.

Features

  • 7 QR types — Website URL, Text, WiFi, Contact (vCard), UPI Payment, Email and Phone, each with its own form and validation.
  • UPI payment QR — enter your UPI ID, name and amount; customers scan with GPay, PhonePe or Paytm and pay you directly.
  • WiFi QR — guests scan and join your network without typing the password.
  • Your colours, your size — 6 brand colours + custom colour picker, 4 sizes, 4 error-correction levels (up to 30% damage-proof).
  • Print-ready PNG download — one click, sharp at any size; plus a copy-payload button and a recent-codes history saved in the browser.
  • 100% self-hosted & secure — no database, no API key; server-side validation, XSS-safe output, and every QR verified decodable with a real scanner.

What's Inside

index.php (generator UI), generate.php (QR image endpoint), config.php (defaults), assets/style.css + app.js, lib/ (PHP QR Code library, LGPL) and README.txt with the full 2-minute setup guide.

Requirements

PHP 7.4+ with the GD extension — available on almost every shared host. No database needed.

How to Install

1. Upload the folder to your hosting. 2. Make lib/cache/ writable. 3. Open it in your browser — done.

Need a Custom Website or Mobile App?

Downloading free code is just the start. Yadu Tech builds complete websites and mobile apps for businesses — design, development, deployment, all done for you.

👉 Chat on WhatsApp

Features & includes

Full source code
Easy setup
Clean, modular code
Responsive design

You might also like

More in PHP Scripts
EduClass Pro — Coaching Institute & Student Management System (PHP + SQLite)
Premium
PHP Scripts • 1d ago

EduClass Pro — Coaching Institute & Student Management System (PHP + SQLite)

🎓 EduClass Pro — Coaching Institute & Student Management System (PHP + SQLite) A complete, ready-to-deploy management system for coaching i...

0 53
₹299
FilePilot PHP — Simple File Manager with Upload, Folders, Rename & Delete (PHP, No Database)
Free
PHP Scripts • 1w ago

FilePilot PHP — Simple File Manager with Upload, Folders, Rename & Delete (PHP, No Database)

FilePilot PHP — Simple File Manager with Upload, Folders, Rename & Delete (PHP, No Database) Your own private file manager in one small PHP...

1 78
Free
StayEase — Hotel Booking & Room Management System (PHP + SQLite)
Premium
PHP Scripts • 1w ago

StayEase — Hotel Booking & Room Management System (PHP + SQLite)

🏨 StayEase — Hotel Booking & Room Management System (PHP + SQLite) StayEase is a ready-to-run booking system for small hotels, guest houses...

0 93
₹299
QR Code Generator — Free PHP Script for Website, WiFi, UPI & Contact QR Codes
Free
Download