Employee Attendance System in PHP CodeIgniter with Source Code

A fully functional project based on Employee Attendance Management System which uses PHP Language with CodeIgniter Web Framework. Following PHP CodeIgniter project contains all the essential features which can be in use for the second year IT students for their college projects. It has a number of features that will allow users to track employee attendance. This system as well as the web application’s concept is all clear. It’s the same as real-life scenarios and well-implemented on it. To download free employee attendance management system project in PHP CodeIgniter Framework with source code files, please scroll down to the bottom of this post for the Download button.

About Employee Attendance System PHP Project

Moving on, this Employee Attendance System project in PHP CodeIgniter focuses mainly on keeping track of employees. Also, the system displays all the categories with their respective details of each. In addition, the system allows checking it and out too by the employees. The project is divided into two categories: Admin and Employee Panel. In an overview of this web application, an employee’s account has its own limitations within the system. The employee can only contribute to maintaining his/her attendance. For this, the user has to fill up certain forms before checking in. The forms contain images, notes, and work locations. When it comes to adding images, the system refers to add current photos of employees in a working state. Also, the employee can check out any time.

Weekend and Employee Shifts

This whole system strictly follows the weekend days rules as well as shift timings. So, the users should make sure of the timings as well as the day. Meaning, the system does not allow any users to check in on the weekend. And the employee user can only check in once a day. The system won’t allow numerous attendance on a single day. Additionally, each employee has their own shift timings. So, the employee has to check in the system at the right timings. Else, the system marks the attendance as late. Besides, an employee can only check their own personal profiles.

Admin Panel

Talking about the admin panel, an admin has all the access to the system. All the management sides fall upon the administrator. An admin has the right to manage departments, shifts, locations, and employees. In order to add up a new department and location record, the user has to provide their respective names accordingly. Similarly, the user has to provide details such as shift starting and ending times. After the management of these sections, the admin has to add employee records too. Employee records consist of details such as name, address, photo, shift timings, department, dob, and joining date.

Employee Account and Attendance Reports

Creating a user account does not set up access for the employees to sign into the system. It requires some additional changes too. After creating a user, the admin has to set up his/her employee account by setting up a new password. The usernames are based upon their departments. On the other hand, an admin can view attendance reports of each and every department. For this, the administrator has to select particular dates and names of the department. The reports come with details such as attendance date, employee name, shift, check-in and out, notes, and in-out status. Here, the admin can simply generate a report and print it too. Besides, the admin can list out the highlights of the system such as total employees per shift, department’s employees, and more.

Last but not least, a clean and simple dashboard is presented with simple color combinations for greater user experience while using this Online Employee Attendance Management System Project in PHP MySQL CodeIgniter Framework. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new Online Employee Attendance System Project in PHP MySQL which includes an admin panel with an employee panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:
  • Admin Panel
  • Employee Panel
  • Turn in-out (Employee)
  • Weekend based
  • Employee Profile
  • Attendance Reports
  • Manage Departments, Locations
  • Shift Timings
  • User Management
  • Set Employee Accounts
Project Name:Employee Attendance System PHP
Language/s Used:PHP with CodeIgniter Web Framework
PHP version (Recommended):7.4
Database:MySQL
Type:Web Application
Developer:Andry
Updates:0
Employee Attendance Management System PHP Project Overview

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
  • There you’ll find a folder naming “htdocs”.
  • Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
  • Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
  • Then, go to URL “http://localhost/phpmyadmin“.
  • Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
  • Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
  • After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
  • All the login details are provided inside the project folder, check that out and enter in order to use it.

And there you have it, a full setup of the Employee Attendance System project in PHP CodeIgniter. For this particular PHP project, PHP Version 5.6 or Newer is required because the project might not operate well with the oldest PHP version. So, users with the oldest PHP version (lower than 5.6) might face various problems while operating it. As a result, you’ll need to manage your PHP version (only if you’re using the oldest version) at the moment. Download Free Employee Attendance Management System Project in PHP MySQL CodeIgniter Source Code. So, this online employee attendance system PHP project is a fully functional project for all the intermediate levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.

Free Download Employee Attendance System Project in PHP MySQL CodeIgniter with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose

35 comments

  1. Getting errors.

    Not Found
    The requested URL /EmployeeAttendance/auth was not found on this server.

  2. Getting error “Severity: 8192”

    Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface:……………………………………

    1. This looks like an error coming from your LATEST version of PHP. This particular project is tested only with PHP 7.4, so the latest PHP 8 might create these problems. Still, you can find related solutions for these problems online!

  3. I can’t delete exiting data

    An uncaught Exception was encountered
    Type: mysqli_sql_exception

    Message: Cannot delete or update a parent row: a foreign key constraint fails (`empattendanceci`.`attendance`, CONSTRAINT `attendance_ibfk_3` FOREIGN KEY (`department_id`) REFERENCES `department` (`id`) ON UPDATE CASCADE)

    Filename: /Applications/XAMPP/xamppfiles/htdocs/EmployeeAttendance_CI/system/database/drivers/mysqli/mysqli_driver.php

    Line Number: 307

    Backtrace:

    File: /Applications/XAMPP/xamppfiles/htdocs/EmployeeAttendance_CI/application/controllers/Master.php
    Line: 96
    Function: delete

    File: /Applications/XAMPP/xamppfiles/htdocs/EmployeeAttendance_CI/index.php
    Line: 315
    Function: require_once

  4. Is it possible to add some features of this to your HR management system? for example is the turn in-out for employee and shift timings?

  5. A PHP Error was encountered

    Severity: 8192

    Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface………………………………………….

    1. This looks like an error coming from your LATEST version of PHP. This particular project is tested only with PHP 7.4, so the latest PHP 8 might create these problems. Still, you can find related solutions for these problems online!

      1. The errors occur with PHP version 7.4 😉

        The instance of which you are using the session handlers is what is causing the issue.

  6. not able to delete any old data on department or employees
    getting following error…sorry but i just know a little php can u help ?
    A Database Error Occurred
    Error Number: 1451

    Cannot delete or update a parent row: a foreign key constraint fails (`empattendanceci……………

  7. Hello please how do i change some things on the menu of the admin dashboard such as changing employee to staff. Any help please?

      1. Which codes should i go through because i have gone through the project and i cannot find the codes of the dashboard menu. Can i edit with any editor or i need to install the codeignitter before i can edit the codes

  8. Which codes should i go through. and can i edit with any editor or i need to install the codeignitter before i can edit the codes

  9. I can connected the database but there is some issue in the database the connection is not establish properly

    Severity: Warning

    Message: mysqli::real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]

    Filename: mysqli/mysqli_driver……………….

  10. Getting “Not Found” when i went to the URL “http://localhost/[ PROJECT_FOLDER_NAME ]/”
    I didn’t change a single thing and followed all the steps you mentioned.

      1. Yes , I entered the name but still i didn’t work then I changed the PHP version .Now it’s working .Thank you so much.

Leave a Reply

Your email address will not be published. Required fields are marked *