PHP Projects

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


1 1 vote
Article Rating
Subscribe
Notify of
guest
131 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
thgf
thgf
2 years ago

where is exe file. of project

Milind
Milind
2 years ago

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

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  Milind

we will take it seriously and update soon 🙂

Milind
2 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
2 years ago

Please include all this code sir.

Milind37
2 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
2 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
Naseeb Bajracharya
2 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
2 years ago

The db file is missing

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  dan

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

dan
dan
2 years ago

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

Naseeb Bajracharya
Naseeb Bajracharya
2 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
2 years ago

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

saurav
saurav
2 years ago

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

Naseeb Bajracharya
Naseeb Bajracharya
2 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
2 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
Naseeb Bajracharya
2 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
2 years ago

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

Ritesh Chhaudhari
Ritesh Chhaudhari
2 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
2 years ago

How to download it?

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  Renan

below there’s a Green Button named Download

Renan
Renan
2 years ago

You there!

Where we can register new admin here?

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  Renan

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

ahmadamin
ahmadamin
23 days ago
Reply to  Renan

add in the details in the database

Renan
Renan
2 years ago

What is the password of the admin please?

Naseeb Bajracharya
Naseeb Bajracharya
2 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
2 years ago

Thank you very much mate. 🙂

Renan
Renan
2 years ago

You there!

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

Naseeb Bajracharya
Naseeb Bajracharya
2 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
2 years ago

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

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  sateesg

please check your mail!

Darshan Gajjar
Darshan Gajjar
2 years ago

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

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  Darshan Gajjar

please check your mail!

anonymousy
anonymousy
2 years ago

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

Balji
Balji
2 years ago

I need report on Employee Leave Management System

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  Balji

please leave your email id here

rahul bindal
rahul bindal
2 years ago

want report on employee leave management system

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  rahul bindal

please check your mail!

ariefbogie
ariefbogie
2 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
2 years ago

in the system who approves and disapproves the leave ?

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  peter

ADMIN from admin panel

Sreenandini
Sreenandini
2 years ago

I need this program using data structure in c

Naseeb Bajracharya
Naseeb Bajracharya
2 years ago
Reply to  Sreenandini

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

Manjunatha
Manjunatha
1 year 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
1 year 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
1 year 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
1 year ago

How do i change the images inthe code

Naseeb Bajracharya
Naseeb Bajracharya
1 year ago
Reply to  zimentwickler

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

rahul
1 year ago

what’s a admin user name and password

awie
awie
1 year 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
1 year ago

hi,sir can i get the project report

Asniya
Asniya
1 year ago

Can u please send the report at [email protected]

keshava
keshava
1 year 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
1 year 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
1 year ago

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

gekyume
gekyume
1 year 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
1 year 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
1 year ago

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

adeel.721
adeel.721
1 year ago

What is the license agreement for this project?

Carmelo Garcia
Editor
1 year ago
Reply to  adeel.721

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

Mark Parsos
Mark Parsos
1 year ago

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

Iqbal Ahmad
1 year 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
1 year ago

thank you for this but how about to registration of admin

jaaf
jaaf
1 year 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
1 year ago

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

jeffcvm
jeffcvm
1 year ago

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

aisya
aisya
1 year ago

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

Pravash Chandra Das
Pravash Chandra Das
1 year ago

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

Jigar
Jigar
1 year ago

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

prn
prn
1 year ago

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

prn
prn
1 year ago

the index.php file is not accessable

Abhishek
Abhishek
1 year ago

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

salim
salim
1 year ago

i am not able to add checkbox..please check

131
0
Would love your thoughts, please comment.x
()
x