Employee and Visitor Gate Pass Logging System in PHP with Source Code

Language

Introduction

This is an Employee and Visitor Gate Pass Logging System in PHP and MySQL Database. This is a simple web-based application that provides an automated platform for a certain company to track or log the daily records of employees and visitors that enter the company's building or premises. The application can help to track the details of individuals who entered and exit the company. This application was developed for educational purposes only which may help new programmers or new in PHP Language to create a web application like this project using PHP Object-Oriented Programming. This application has a simple user interface with dynamic system information management such as system/company logo and this has also user-friendly functionalities.

About the Employee and Visitor Gate Pass Logging System

I developed this project using the following:

  • XAMPP v3.3.0 as my local webserver that has a PHP Version 8.0.7
  • PHP Language
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Bootstrap
  • AdminLTE
  • and some other plugins/libraries.

This Employee and Visitor Gate Pass Logging System has an Admin Panel where the management can manage the system data such as the employee list. The Admin users have access to all features and functionalities of the project does while the Staff users have only limited access. The system also lists a printable date-wise log list for both Employee and Visitor logs that enters and exits the company premises.

Features

Admin Panel

  • Secure Login and Logout
  • Dashboard
  • Manage Department List (CRUD)
  • Manage Designation List (CRUD)
  • Manage Employee Records
    • Add New Employee
    • List all Employee
    • Edit/Update Employee's Details
    • View Employee's Details
    • Print Employee Details
    • Delete Records
  • Reports
    • Employees' Printable Date-wise Log Report
    • Visitors Printable Date-wise Log Report
  • Manage Users list (CRUD)
  • Manage Account Details/Credentials
  • Manage System Information

Operator Side (No Access Needed)

  • Employee Log Form Tab (In/Out)
  • Visitor Log Form Tab (In/Out)

System Snapshots of some Features

Employees' Log Form

Employee and Visitor Gate Pass Logging System

Visitors Log Form

Employee and Visitor Gate Pass Logging System

Admin Panel Dashboard

Employee and Visitor Gate Pass Logging System

Employees' Log Report

Employee and Visitor Gate Pass Logging System

How to Run ??

Requirements

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)

Installation/Setup

  1. Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. If you are using XAMPP, copy the extracted 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 employee_gatepass_db.
  6. Import the provided SQL file. The file is known as employee_gatepass_db.sql located inside the database folder.
  7. Browse the Employee and Visitor Gate Pass Logging System in a browser. i.e. http://localhost/employee_gatepass/ for operator's/logging side and http://localhost/employee_gatepass/admin for the admin side.

Default Admin Access Information

Username: admin
Password: admin123

DEMO

That's it. You can now explore the features and functionalities of this Employee and Visitor Gate Pass Logging System in PHP. I hope this project will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Submitted byRandomname (not verified)on Thu, 11/18/2021 - 17:43

Hi, why does the wrong code of navigation bar show here? I think this is a mistake. Can you help me? Are you answering emails? Thank you
Submitted byrandompasserby (not verified)on Thu, 11/18/2021 - 17:44

Hi, why does this show a different code? See navigation.php. Are you answering e-mails? Can you help me? Thank you.
Submitted byFranko001 (not verified)on Tue, 01/11/2022 - 20:56

One of the Best Codes I've seen so far, looking forward to learning through it.
Submitted bySomeone who ne… (not verified)on Fri, 03/10/2023 - 03:06

Can you please give a solution how to make the side navbar resonsive? At mobile view,,a good amount of blank space comes instead of navbar,,which looks very ugly. Please give a solution how to fix it
Submitted byNAVEENKUMAR M (not verified)on Thu, 07/20/2023 - 17:54

I SHOWS LIKE THIS , PLS HELP HOW TO SLOVE Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\employee_gatepass\classes\DBConnection.php:18 Stack trace: #0 C:\xampp\htdocs\employee_gatepass\classes\DBConnection.php(18): mysqli->__construct('localhost', 'root', Object(SensitiveParameterValue), 'employee_gatepa...') #1 C:\xampp\htdocs\employee_gatepass\classes\SystemSettings.php(8): DBConnection->__construct() #2 C:\xampp\htdocs\employee_gatepass\classes\SystemSettings.php(190): SystemSettings->__construct() #3 C:\xampp\htdocs\employee_gatepass\config.php(9): require_once('C:\\xampp\\htdocs...') #4 C:\xampp\htdocs\employee_gatepass\index.php(1): require_once('C:\\xampp\\htdocs...') #5 {main} thrown in C:\xampp\htdocs\employee_gatepass\classes\DBConnection.php on line 18
Submitted byvtc (not verified)on Thu, 08/24/2023 - 12:05

Hi sir, why i am getting error in uploading photos? what should i do or checked before I upload or change the logo?

Add new comment