School Event Attendance Monitoring System with Barcode Scanning using PHP with Source Code


The School Event Attendance Monitoring System with Barcode Scanning is a PHP Project that manages the School's Student Attendance in Events. The purpose of this system is to improve the process of checking the attendance of the students in CHMSC and monitor their attendance in every school event. The system stores the list of students, officers, and events. The officers will have system access and they will be in charge of monitoring the students' attendance during the event that they are assigned. The source code is very strict on when a can officer checks attendance and display the result.


  • Add Students
  • Add Officers
  • Add Event
  • Manage Students
  • Manage Officers
  • Manage Event
  • Generate barcode using the ID number
  • Checking of attendance using a barcode scanner
  • Generate Reports
  • Printing of students attendance
  • Printing of sanction tickets
  • Printing of attendance in every event

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the source code zip file.


  1. Extract the source code zip file. Rename the extracted source code folder into "attendance".
  2. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  3. If you are using XAMPP, copy the extracted folder and paste it into the XAMPP's "htdocs" directory. And if you are using WAMP, paste the source code inside the "www" directory.
  4. Open a web browser and browse the PHPMyAdmin. (http://localhost/phpmyadmin)
  5. Create a new database naming "dbattendance".
  6. Import the SQL file in your newly created database. The SQL file located inside the zip file in the "backups" folder. Extract the zip file and use the SQL file.
  7. Open a web browser and browse the web application. (http://localhost/attendance)

Admin Access

Username: admin
Password: admin123

How to Use

Populate first all the important lists such as the student, event, sanctions, and officers list in the admin side. For creating a new entry of student, the ID Number should be exactly 8 digits number. The mobile number fields in the system require 10 digits. Assign an officer after creating an event. For checking the student attendance, the checking will be only open between the login/out time set by the admin.


That's it! I hope this PHP Project will help you with what you are looking for.

Enjoy Coding.

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 bymuizrahman (not verified)on Tue, 09/04/2018 - 14:39

can i now for the login password for the system
Submitted byanonim (not verified)on Wed, 09/05/2018 - 09:28

In reply to by muizrahman (not verified)

user:admin pwd : admin123
Submitted bymuizrahman (not verified)on Wed, 09/05/2018 - 11:48

In reply to by anonim (not verified)

still cannot access bro.
Submitted byKennedy EDRIN (not verified)on Wed, 09/05/2018 - 06:19

I dont understand how you post a project without password. who will access it?
Submitted byAnonymous (not verified)on Tue, 01/08/2019 - 20:22

how to check students attendance btw?
Submitted bylucida (not verified)on Tue, 02/19/2019 - 18:05

where i can found your missing php >> ERROR.PHP
Submitted bylucida (not verified)on Tue, 02/19/2019 - 18:33

where i can find the missing file ? error.php
Submitted bySantus001on Tue, 04/02/2019 - 23:26

Hi Phrince, Please, can you guide me on how to fix the missing file ? error.php. I need your help very urgently. Thank you!
Submitted byChidubem (not verified)on Mon, 11/16/2020 - 18:53

During attendance, it says Students that has Logged In There are no students yet But there are already registered students. How do I mark student's attendance
Submitted byChingay (not verified)on Fri, 04/02/2021 - 08:11

hey so if barcode scanning is successful, the student automatically time in right?
Submitted byahmadkhatib (not verified)on Wed, 04/21/2021 - 19:52

how to fix eror massge C:\xampp\htdocs\attendance\util\Code128.php on line 292 Fatal error: Uncaught Error: Call to undefined function imagecreate() in C:\xampp\htdocs\attendance\util\Code128.php:292 Stack trace: #0 C:\xampp\htdocs\attendance\views\students\view.php(14): Code128->draw() #1 C:\xampp\htdocs\attendance\libs\View.php(11): require('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\attendance\controllers\students.php(46): View->render('students/view') #3 C:\xampp\htdocs\attendance\libs\Bootstrap.php(145): Students->view('20') #4 C:\xampp\htdocs\attendance\libs\Bootstrap.php(31): Bootstrap->_callControllerMethod() #5 C:\xampp\htdocs\attendance\index.php(17): Bootstrap->init() #6 {main} thrown in C:\xampp\htdocs\attendance\util\Code128.php on line 292
Submitted byHABIBOU ABOUBAKAR (not verified)on Wed, 11/17/2021 - 03:59

Bonsoir s'il vous plaît où puis-je trouver le fichier manquant ? Et comment puis-je corriger l'erreur ?
Submitted byGk11111 (not verified)on Sun, 02/20/2022 - 13:01

Hello Good Sir, The scan is displaying it to the textbox but it's not displaying the student on its attendance. Help. Thank you!
Submitted byahiajoshuaon Fri, 07/29/2022 - 15:23

Hi! How can I scan? I am studying the system and I can 't get how I will perform the scanning of barcode. Thanks for this awesome software. 

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
1 + 9 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.