{"id":15107485,"url":"https://github.com/sagarbhoi404/qr-code-attendance-system","last_synced_at":"2026-01-20T10:32:34.902Z","repository":{"id":255123042,"uuid":"848595126","full_name":"SagarBhoi404/qr-code-attendance-system","owner":"SagarBhoi404","description":"The QR Code-Based Attendance System is a robust attendance management solution developed using PHP and MySQL. The system supports three roles: Admin, Teacher, and Student, each with distinct functionalities to ensure efficient and secure attendance tracking in educational institutions.","archived":false,"fork":false,"pushed_at":"2024-08-28T04:39:42.000Z","size":1207,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T09:49:32.659Z","etag":null,"topics":["datatable","font-awesome","jquery","mysql","php","phpexcel"],"latest_commit_sha":null,"homepage":"https://sagarbhoi.in/project-demos/qr-code-attendance-system/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SagarBhoi404.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-28T03:44:58.000Z","updated_at":"2025-02-03T02:43:40.000Z","dependencies_parsed_at":"2024-08-28T07:45:18.062Z","dependency_job_id":null,"html_url":"https://github.com/SagarBhoi404/qr-code-attendance-system","commit_stats":null,"previous_names":["sagarbhoi404/qr-code-attendance-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SagarBhoi404%2Fqr-code-attendance-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SagarBhoi404%2Fqr-code-attendance-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SagarBhoi404%2Fqr-code-attendance-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SagarBhoi404%2Fqr-code-attendance-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SagarBhoi404","download_url":"https://codeload.github.com/SagarBhoi404/qr-code-attendance-system/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345713,"owners_count":20924098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datatable","font-awesome","jquery","mysql","php","phpexcel"],"created_at":"2024-09-25T21:24:58.165Z","updated_at":"2026-01-20T10:32:34.897Z","avatar_url":"https://github.com/SagarBhoi404.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QR Code-Based Attendance System\n\n## Project Description\n\nThe QR Code-Based Attendance System is a robust attendance management solution developed using PHP and MySQL. The system supports three roles: Admin, Teacher, and Student, each with distinct functionalities to ensure efficient and secure attendance tracking in educational institutions.\n\n### Key Features:\n- **Admin Role**:\n  - Add, view, and edit students, teachers, and timetables.\n  - View and manage all attendance records, including the ability to manually mark attendance in case of scanning issues.\n  - Manage attendance data for multiple classes, semesters, and batches.\n\n- **Teacher Role**:\n  - Generate QR codes for attendance for allocated classes, semesters, and batches.\n  - View attendance records for their classes.\n\n- **Student Role**:\n  - Mark attendance by scanning the QR code generated by the teacher during the lecture.\n  - View their attendance records.\n\n### Advanced Security Features:\n- **IP Address Restriction**: Only one attendance is allowed per student per IP address to prevent multiple submissions.\n- **Proxy \u0026 VPN Prevention**: Attendance marking is restricted to ensure that students cannot use proxies or VPNs.\n- **Location Verification**: Attendance can only be marked if the student is within the allowed campus radius, ensuring the student is physically present on campus.\n- **Time-Sensitive Attendance**: QR codes are valid only during the lecture time, adding another layer of security.\n\n## Live Demo\n\nCheck out the live demo of the project [here](https://sagarbhoi.in/project-demos/qr-code-attendance-system/).\n\n## Technologies Used\n\n- **PHP**: Server-side scripting language used for backend development.\n- **MySQL**: Database management system for storing user, attendance, and timetable data.\n- **Bootstrap**: Frontend framework for responsive design and layout.\n- **jQuery**: JavaScript library for DOM manipulation and event handling.\n- **DataTables**: jQuery plugin for enhancing HTML tables with pagination, search, and sorting features.\n- **Font Awesome**: Icon library used for adding visual elements to the UI.\n\n## Installation\n\n### Prerequisites:\n- A web server with PHP and MySQL support (e.g., XAMPP, WAMP, LAMP).\n- A MySQL database.\n\n### Steps:\n1. **Clone the repository**:\n    ```sh\n    git clone https://github.com/SagarBhoi404/qr-code-attendance-system.git\n    cd qr-code-attendance-system\n    ```\n\n2. **Setup MySQL Database**:\n    - Create a new database named `qrattendance`.\n    - Import the SQL file provided in the `database.sql` directory to set up the necessary tables.\n\n3. **Configure the Application**:\n    - Create a `.env` file in the root directory and add the following:\n      ```env\n      DB_HOST=localhost\n      DB_USER=root\n      DB_PASS=123\n      DB_NAME=qrattendance\n      ```\n\n4. **Deploy the Application**:\n    - Place the project files in your web server's root directory (e.g., `htdocs` for XAMPP).\n    - Access the application via your browser at `http://localhost/qr-code-attendance-system`.\n\n5. **Default Admin Credentials**:\n    - **Username**: `admin`\n    - **Password**: `123`\n\n## Usage\n\n1. **Admin Panel**: Log in as an admin to manage students, teachers, timetables, and attendance records.\n2. **Teacher Portal**: Teachers can log in to generate QR codes for their classes and view attendance.\n3. **Student Portal**: Students log in to scan QR codes during lectures and view their attendance history.\n\n## Screenshots\n\n**Admin Panel**\n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815913/qrattendance/Screenshot_11_wmiko6.png)    \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_12_u1sqfy.png)   \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_13_ke4zpd.png)   \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_14_elke71.png)   \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_15_quv3gr.png)   \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_16_hylziv.png)   \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_17_nv9eak.png)   \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_18_ig2gvb.png)   \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815803/qrattendance/Screenshot_19_dbarel.png)   \n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_20_bniy27.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_21_mfthqs.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_22_aoudoo.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_23_mwh85i.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_24_fvetgy.png)   \n\n**Teacher Panel**\n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816341/qrattendance/Screenshot_3_enxbz7.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816342/qrattendance/Screenshot_4_rhrnqt.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816342/qrattendance/Screenshot_5_pya7re.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816341/qrattendance/Screenshot_6_iy5flm.png)   \n\n**Student Panel**\n\n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816418/qrattendance/Screenshot_7_agcbob.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816419/qrattendance/Screenshot_8_np3suu.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816419/qrattendance/Screenshot_9_yjbk6t.png)   \n![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816418/qrattendance/Screenshot_10_gkbpbc.png)   \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagarbhoi404%2Fqr-code-attendance-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagarbhoi404%2Fqr-code-attendance-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagarbhoi404%2Fqr-code-attendance-system/lists"}