Human Resource Management System Project in PHP and MySQL Free Source Code



This is a simple Human Resource Management System. It is a web application that was developed in PHP and MySQL Database. It aims to provide an online automated platform for certain company employees' to manage or submit their leave applications. It has a pleasant user interface with some gradient color and uses Bootstrap and Responsee Framework for the page designs. It consists of user-friendly features and functionalities.


The Human Resource Management System project was developed using the following technologies

  • HTML
  • CSS
  • JS
  • PHP
  • MySQL Database
  • VS Code Editor
  • Bootstrap Framework
  • Responsee Framework

Features and Functionalities

This project is composed of the following features and functionalities.


  • Login and Logout
  • Dashboard Page
  • Employees Management
  • Leave Applications Management
  • Update Password


  • Login and Logout
  • Dashboard Page
  • Create New Leave Application
  • List and Manage Leave Applications
  • Update Password

How does the Human Resource Management System work?

This Human Resource Management System project has 2 modules which are the Admin Panel and the Employee Side. These 2 sides of the site have different features and functionalities according to their user roles.

The Admin Panel is the side of the system where the system administrators are the only ones who can access it. This is where the HR Department or Staff manages the list of employees of the company. The system administrators are the ones who can accept or deny the leave applications of the employees. Here, administrators can list, add, edit, and delete data on the master list of Positions, Countries, States, and Cities.

The Employee-Side is the side of the system that employees can only access. This side allows the employees' to create new leave applications. After they create leave applications, their pending, accepted, and denied applications are listed on the leave application page. On the dashboard page, the logged-in employee can see his/her leave application summary which is the total number of pending and accepted applications only.

Both users can update their system password.


Here are some sample snapshots of the pages of this Human Resource Management System

Employee Details (Admin-Side)

HRM - Employee Details

Leave Applications (Admin-Side)

HRM - Leave Application

Employee's Dashboard

HRM - Employee's Dashboard

Leave Applications (Employee-Side)

HRM - Leave Application

The source code of this Human Resource Management System is free to download on this website. Download the source code and modify it the way you wanted to meet your requirements. Below is the following instruction on how to run the project.

How to Run?


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

System Installation/Setup

  1. Open your XAMPP Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database named hrm_db.
  6. Import the provided SQL file. The file is known as hrm_db.sql located inside the db folder.
  7. Browse the Human Resource Management System in a browser. i.e. http://localhost/hrm/.

Default Admin Access:


Email: [email protected]
Password: admin#123

Sample Employee Access:


Email: [email protected]
Password: mcooper#123


That's it! I hope this Human Resource Management System helps you with what you are looking for and that you'll find something useful for your current or future PHP Projects. Feel free to leave a comment with any questions about this project.

Note: This Human Resource Management System was built for educational purposes only.

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

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 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 byeMVee (not verified)on Wed, 11/09/2022 - 03:44

Hi, Today I tested this application in my lab environment. I noticed some security issues. I've no idea how I could inform you about my findings. Is there a possibility to share them so you could fix them in a new release? Cheers eMVee
Submitted byonline.superad… (not verified)on Mon, 02/27/2023 - 19:54

I appreciate your work, I like your efforts. All the best.
Submitted byconstantin olami (not verified)on Sat, 06/24/2023 - 03:00

J'ai beaucoup aimé le projet et surtout ça m'a beaucoup inspirer merci
Submitted byTamirat Birhanu (not verified)on Fri, 03/29/2024 - 04:08

your project have no error but it does not takes username and password how i can pass that steps
Submitted bythe username a… (not verified)on Mon, 06/10/2024 - 23:33

The Username and password are not working, please check it

Add new comment