Skip to main content

Covid-19 Contact Tracing System Web App with QR Code Scanning using PHP with Source Code


Title: Covid-19 Contact Tracing System Web App with QR Code Scanning using PHP with Source Code

This project was inspired in the LGU's Contact Tracking System here in the Philippines. The Contact Tracing System logs all individuals that are visiting a certain establishment. The system has 2 sides of the user interface which are the Admin Panel and the Establishments Log's Side. The Admin Panel is the module of the project which are the system administrator will manage all the data such as the list of establishments and Individuals List. The system automatically generates a printable CTS QR Code Card (Contact Tracing System Quick Response Code Card) and this card will be the identification of the individuals for entering the establishment. Talking about the Establishment Log's Side, each establishment that is registered in the system will a system-generated code which will be used by the establishment's staff to access the QR Code Scanning Feature. This module has only a single page after login because this side purpose is only to log the visitor's QR Code to log their information to the system that the certain individual has entered to the certain establishment in a certain time and date. This project also generates printable reports


  • Admin Panel
  • System Information Management
  • Province List Management
  • City List Management
  • Zone List Management
  • Individual List Management
  • Generates QR Code ID Card
  • Scanning QR Code to Log
  • Generates Reports

Sample Images


  • PHP QR Code
  • HTML5 QR code reader
  • AdminLTE
  • Bootstrap

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Web Camera for scanning.
  • Download the provided source code zip file.


  1. Open the XAMPP/WAMP's Control Panel and start "Apache" and "MySQL".
  2. Extract the downloaded zip file. Renamed the extracted folder to "cts_qr".
  3. If you are using XAMPP, copy the source code folder and paste it into the XAMPP's "htdocs" directory. And if you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "cts_db".
  6. Import the SQL File in the newly created database. The SQL file is known as "cts_db" located inside the database folder.
  7. Browse the Contact Tracing System Web App in a browser. i.e. http://localhost/cts_qr

Admin Info

Username: admin
Password: admin123


That's it! I hope this will help you with what you are looking for and for your future PHP Project. This project was developed for educational purposes only. Feel Free to download and modify the source code the way you wanted.

Enjoy Coding :)

If you have any questions about this project feel free to leave a comment below or you can contact me @ My Facebook Account or Email me at [email protected]

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted bymikes16 (not verified)on Tue, 03/02/2021 - 16:54

hi, thank you for this system, Unfortunately i encountered a problem. The popup modal is running well on the first 10 rows of my table then the 11th onward are not running. How can i fix?
Submitted byJohn Arzaga (not verified)on Sun, 03/07/2021 - 08:47

In reply to by mikes16 (not verified)

Hello guys, anyone tried running this script over the IP? mines not working. or somethings need to be done. Thank you developer.
Submitted bythe doo (not verified)on Fri, 03/12/2021 - 12:26

In reply to by mikes16 (not verified)

Same Issue how do we fix this?
Submitted byAnonymous (not verified)on Thu, 03/04/2021 - 17:42

error man sir..
Submitted byAnonymous (not verified)on Fri, 03/12/2021 - 12:19

Hello po bakit di po ma delete update yung mga list pag dating sa 11 list pag 1 to 10 is pwede naman po. How can fix this?
Submitted bykurt ian balili (not verified)on Sat, 08/14/2021 - 18:56

Fatal error: Uncaught Error: Call to undefined function ImageCreate() in C:\xampp\htdocs\cts_qr\libs\phpqrcode\qrimage.php:74 Stack trace: #0 C:\xampp\htdocs\cts_qr\libs\phpqrcode\qrimage.php(32): QRimage::image(Array, 5, 4) #1 C:\xampp\htdocs\cts_qr\libs\phpqrcode\qrencode.php(494): QRimage::png(Array, '../../temp/0102...', 5, 4, false) #2 C:\xampp\htdocs\cts_qr\libs\phpqrcode\qrencode.php(286): QRencode->encodePNG('010223162240520...', '../../temp/0102...', false) #3 C:\xampp\htdocs\cts_qr\admin\people\card.php(18): QRcode::png('010223162240520...', '../../temp/0102...', 0, 5) #4 {main} thrown in C:\xampp\htdocs\cts_qr\libs\phpqrcode\qrimage.php on line 74
Submitted byMichael Angelo Perez (not verified)on Sun, 10/17/2021 - 13:42

hello bat po hndi ako makapasok sa website? blank lng sya lahat, naka follow po ako sa lahat ng steps kung paano gawin

Add new comment