Employee Leave Management System Using PHP With Source Code

Project : Employee Leave Management

Features :

  1. Login System
  2. Admin Panel
  3. Apply leave, History
  4. Add, Manage Department
  5. Add, Manage Leave Type

Here, Employee has to log in and employee can easily apply for a leave. Admin has to approve or decline the leave request. Admin can add/manage leave type and add/manage employees.  This is a simple project done in PHP. It’s easy to operate and understand by users. The design is pretty simple and the user won’t find it difficult to understand, use and navigate.

How To Run?

You’ll need XAMP Server or WAMP Server. Put the file inside “c:/wamp/www/” or “c:/xampp/htdocs/”. Go To “localhost/phpmyadmin” in any browser and create Database (name according to SQL file).In that Database, Import the SQL file and finally go to URL: “http://localhost/file_name/phpfilename
Don’t Forget To create a database and import SQL file to run.

DOWNLOAD EMPLOYEE LEAVE MANAGEMENT SYSTEM USING PHP WITH SOURCE CODE : CLICK THE BUTTON BELOW

[quads id=1]


Author: Fabian Ros
1.5 2 votes
Article Rating
Subscribe
Notify of
guest
149 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
thgf
thgf
6 years ago

where is exe file. of project

Milind
Milind
6 years ago

There is no head of department module and there is no balance leave module please add this code

Naseeb Bajracharya
6 years ago
Reply to  Milind

we will take it seriously and update soon 🙂

Milind
6 years ago

hi sir there should be actually four module 1.admin 2.emplyoee 2.HOD(head of department) and superintendent.
Emplyoee should see the remaining leave balance and number of days should be calculated automatically.

Milind
6 years ago

Please include all this code sir.

Milind37
6 years ago

sir i need 4 modules 1. principal 2. emplyoee 3.HOD(head of department of the employee) and 4. superintendent(who will have the records)
emplyoee can see the remaining balance leave.
number of days of leave from date – to date it should count the days
HOD needs to approve the leave as well as HOD can apply for leave

Saif D
Saif D
6 years ago

Iam unable to see any changes in the display even after making changes in the alpha.min.css sheet, Kindly help me what changes need to be done in the template in order to make changes in the styles.
Thank you

Naseeb Bajracharya
6 years ago
Reply to  Saif D

try changing that CSS file name and make sure you change the CSS file name in every linked PHP file. I faced the same problem months ago… and it worked!!

dan
dan
6 years ago

The db file is missing

Naseeb Bajracharya
6 years ago
Reply to  dan

nope. The database file is inside the SQL File Folder. Please Check it Carefully

dan
dan
6 years ago

i can’t locate the file….pls can you mail me to [email protected] please

Naseeb Bajracharya
6 years ago
Reply to  dan

please check your mail. we have sent you the whole project file. The database file is inside a Folder named “sql file”

Salman Khan
Salman Khan
6 years ago

? job sir!Do you have documentation regarding this employee leave management system or any class diagrams

saurav
saurav
6 years ago

admin login is not working even if i change the values in the database

Naseeb Bajracharya
6 years ago
Reply to  saurav

like what values did you change in the database?
You just need to click on admin login or go to URL http://localhost/elms/admin/ and enter Admin’s username and password which we have provided inside README.txt file. It works well!! do try it again.

franklin
franklin
6 years ago

there is no thresh hold or limit as in to how much an employee can apply for leave…lots of mnor bugs,please check.

Naseeb Bajracharya
6 years ago
Reply to  franklin

there are not many features included in this Mini Project. We’ll upload the Advanced version of this in upcoming days

deepak bhamare
deepak bhamare
6 years ago

i hv to make this application in android….how i can use this php in my code

Ritesh Chhaudhari
Ritesh Chhaudhari
6 years ago
Reply to  deepak bhamare

Hi, dear Deepak Bhamare, we got your concern regarding your view on using PHP to develop Android apps. Here this might help you. Yes, it seems you can write mobile Android applications using PHP: Zend Studio – Develop in PHP-on-Phonegap/Cordova mobile API’s JPHP – compiles to Java bytecode, similar to JRuby and Jython, only for PHP (for Java and Android). PHAP, mobile App Developments in PHP – With PHAP, you can write your mobile apps entirely in PHP and share the same code on iOS, Android and Windows Phones. There are also various PHP server mobile apps/APK out there, both… Read more »

Renan
Renan
6 years ago

How to download it?

Naseeb Bajracharya
6 years ago
Reply to  Renan

below there’s a Green Button named Download

Renan
Renan
6 years ago

You there!

Where we can register new admin here?

Naseeb Bajracharya
6 years ago
Reply to  Renan

no, you can’t register a new admin through the system

ahmadamin
ahmadamin
4 years ago
Reply to  Renan

add in the details in the database

Renan
Renan
6 years ago

What is the password of the admin please?

Naseeb Bajracharya
6 years ago
Reply to  Renan

ADMIN
Email id : admin
Passowrd : Test45

USER / EMPLOYEE
Email Id: [email protected]
Password : Test
Empid: EMP10806121 (in case of password recovery)

We had mentioned all the login details in ‘Readme.txt’ file inside the project folder. You should have read it!

Renan
Renan
6 years ago

Thank you very much mate. 🙂

Ananya
Ananya
2 years ago

the password is not working for the project pls help

Renan
Renan
6 years ago

You there!

Where I’d find the pop-up/word: “Welcome to Leave Management System” Where?

Naseeb Bajracharya
6 years ago
Reply to  Renan

insert a JS code ” window.alert(“Welcome To ELMS”); ” in index file. Which should display Alert after logging in to the system.

sateesg
sateesg
6 years ago

Can u plz mail the report to my mail I’d it’s [email protected]

Naseeb Bajracharya
6 years ago
Reply to  sateesg

please check your mail!

bia
bia
1 year ago
Reply to  sateesg

can you plz mail the report to my email id it’s [email protected]?>

Darshan Gajjar
Darshan Gajjar
6 years ago

Can u plz mail the report to my mail I’d it’s [email protected]

Naseeb Bajracharya
6 years ago
Reply to  Darshan Gajjar

please check your mail!

anonymousy
anonymousy
6 years ago

Is there a way to generate a report at the end? like a summary of leaves taken weekly etc.

Balji
Balji
6 years ago

I need report on Employee Leave Management System

Naseeb Bajracharya
6 years ago
Reply to  Balji

please leave your email id here

rahul bindal
rahul bindal
6 years ago

want report on employee leave management system

Naseeb Bajracharya
6 years ago
Reply to  rahul bindal

please check your mail!

ariefbogie
ariefbogie
6 years ago

nice work. right now i’m going to print a report for a single leave_history for user. but i have problem importing it’s data from tblleaves to a single applied leave, especially if that user have more than 1 applied leave. i hope u can help me. email: [email protected]

peter
peter
6 years ago

in the system who approves and disapproves the leave ?

Naseeb Bajracharya
6 years ago
Reply to  peter

ADMIN from admin panel

Sreenandini
Sreenandini
6 years ago

I need this program using data structure in c

Naseeb Bajracharya
6 years ago
Reply to  Sreenandini

sorry, we don’t have Employee Leave Management in C Programming.
we only have Employee Management System

Manjunatha
Manjunatha
6 years ago

Sir this project is too good. Now we are doing the same project, we need report for this project please send the report to this mail [email protected]

Cutes
6 years ago

i found error, if($fromdate > $todate){ $error=”bla bla bla”; }

the message was Error, but still insert into the leaves table… and still can be approved by admin

Guest
Guest
6 years ago

The search bar and show option which is there on leavehistory.php page of employees, i want to include that in the pendingleavehistory page of admin, how do i do that ?

zimentwickler
zimentwickler
5 years ago

How do i change the images inthe code

Naseeb Bajracharya
5 years ago
Reply to  zimentwickler

by replacing the image file name and format with the existing one in the code

rahul
5 years ago

what’s a admin user name and password

awie
awie
5 years ago

Hi, i would like to use this source code & change a little bit of the coding. It is okay for me to use?

riya
riya
5 years ago

hi,sir can i get the project report

Asniya
Asniya
5 years ago

Can u please send the report at [email protected]

keshava
keshava
5 years ago

hi there! great work!
can i get a copy of the project report? thanks in advance!
my email: [email protected]

Caraka Paramanandha
Caraka Paramanandha
5 years ago

hi, im newbie here..i just started learn php.
i followed the instruction and i succeeded to import elms.sql files
but when i tried to run with this url : http://localhost/elms/apply-leave.php
it shows :
Error: SQLSTATE[HY000] [1049] Unknown database ‘elms’

what to do next ?

thanks

vanjean
vanjean
5 years ago

sir please i need the report of employee leave management system 🙁 please send it on my yahoo [email protected]

Rahul
Rahul
2 years ago
Reply to  vanjean

Plz send me report employee leave management system

Rahul
Rahul
2 years ago
Reply to  vanjean

Plz send me report employee leave management system
Request u sir plz

gekyume
gekyume
5 years ago

i think you should make a video tutorial how to run this system, it will make people easy to run your system

gekyume
gekyume
5 years ago
Reply to  gekyume

i already download that file then i cant run , it just show the source code and also i cant import the database

Biswajit
Biswajit
5 years ago

Error: SQLSTATE[HY000] [1049] Unknown database ‘elms’

adeel.721
adeel.721
5 years ago

What is the license agreement for this project?

Carmelo Garcia
Editor
5 years ago
Reply to  adeel.721

It’s free. But you only can use it for educational purpose

Mark Parsos
Mark Parsos
5 years ago

Hi Please is there anyway you can show how to add a leave balance system to this project

Iqbal Ahmad
5 years ago

Hi,

I am unable to run the code in netbeans. I have attached screen shots having red exclamation mark on bulb sign in specified link. Please correct this an resend. Many thanks

It says “Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404
localhost
Apache/2.4.37 (Win32) OpenSSL/1.1.1a PHP/7.3.0”

tiks
tiks
5 years ago

thank you for this but how about to registration of admin

jaaf
jaaf
5 years ago

hello Sir,
do I have the possibility to take the project online (Linux Web Hosting)
like GoDaddy or any different platform?
if yes!
can you help to know how to implement the operation on GoDaddy or mentioning a general idea about the web hosting?
Thank you!

amaan
amaan
5 years ago

hi sir … want report on employee leave management system … my email id is :- [email protected]

jeffcvm
jeffcvm
5 years ago

do the user and admin get email notification after they apply leave and leave been approve or reject ?

aisya
aisya
5 years ago

please email the report to me sir, [email protected]

Pravash Chandra Das
Pravash Chandra Das
5 years ago

sir plz give idea how to run ,it shows not permission ..so plz help me.

Jigar
Jigar
5 years ago

Can i get this project of employee leave managment can u send me this file to my email id [email protected]

prn
prn
5 years ago

Error: SQLSTATE[HY000] [1049] Unknown database ‘elms’

prn
prn
5 years ago

the index.php file is not accessable

Abhishek
Abhishek
5 years ago

I have seen the same project but a different author. You are the original author of this project

salim
salim
5 years ago

i am not able to add checkbox..please check