40% off everything — use code SAVE40 at checkout · ends in …
Skip to content
phpguru.store
PHP, MySQL

Employee Leave Request & Approval System

Leave requests, approvals, and automatic balance tracking in PHP

Handle attendance, leave, payroll or hiring with Employee Leave Request & Approval System — without paying per employee, per month.

  • Instant delivery
  • Commercial license included
  • PHP 8 compatibility verified
₹799$19

One-time payment · Instant download · Regular license (Agency option)

Secured by Razorpay · we never see your card/UPI details

A focused PHP + MySQL tool for employee leave requests and approvals, with automatic per-employee leave-balance tracking and deduction on approval.

What you get

Taken from this product's own README (included in the download). A PHPGuru-developed product.

Included

  • Employee records with a per-employee annual leave balance
  • Configurable leave types (Casual, Sick, Earned — add your own)
  • Leave request submission with automatic day-count calculation
  • Approve/reject workflow: approving a request checks the employee's remaining balance first and deducts the approved days automatically
  • Filterable request list (pending / approved / rejected / all)
  • Dashboard with pending-request count, today's on-leave count, and this month's approved count

What it is not

This is a leave-request workflow tool, not a full HR/attendance/payroll suite. If you need daily attendance marking and payroll calculation alongside leave management, see our Employee & Attendance Management System product instead.

Requirements & testing
PHP 7.4+ (tested compatible with PHP 8.x), MySQL 5.7+ or MariaDB 10+, mysqli extension (enabled by default on virtually all PHP hosting).
In the download
Full PHP source, database schema (sql/schema.sql), README with installation steps.
Installation (5 steps)
Upload all files to your PHP hosting (shared hosting, VPS, or XAMPP) → Create a new MySQL database → Import sql/schema.sql into that database via phpMyAdmin or the command line → Open config.php and set DB_HOST, DB_NAME, DB_USER, DB_PASS to match your → Visit login.php in your browser. Prefer us to do it? Add installation at checkout.
Support & licence
Email support is included with your purchase — reply with your payment ID and what you're seeing, and we'll help you get it running. Licence terms: Regular vs Agency.

Screenshots

Sound familiar?

  • Attendance, leave and salary are worked out in spreadsheets every month.
  • HR software charges per employee, every month.
  • Leave requests get lost in chats and email.
  • Payslips and records aren't in one place when someone asks.

Employee Leave Request & Approval System fixes that today: complete source code, the database included, a commercial license — installed on your hosting in an afternoon, or by us.

Who buys it — and what they get

Business owners

Run HR for your team on software you own — no per-employee subscription.

Freelancers & agencies

Deploy it for small companies as a low-cost HR system you customise and support.

Students & learners

A practical HR project covering approvals, calculations and reports.

Freelancers: the Regular license covers client projects, so one purchase can become paid work. Reselling it as a hosted service needs the Agency license.

Is it right for your business?

One page per kind of business: how it fits into the week, what you get, and where it is not the right tool.

Full overview: who it's for, every feature explained, how it works

Employee Leave Request & Approval System — Overview

A focused, ready-to-deploy PHP and MySQL tool that handles exactly one job well: employees or HR staff submit leave requests, an admin approves or rejects them, and each employee's leave balance is tracked and automatically deducted the moment a request is approved. If you're managing leave through WhatsApp messages, a shared spreadsheet, or a paper register, this replaces that with a real, auditable system — without the overhead of a full HR suite you don't need.

Who This Is For

  • Small businesses (10-100 staff) currently tracking leave informally and losing track of who's actually entitled to what.
  • Freelance developers and agencies who need a proven leave-approval data model for a client project instead of building one from scratch.
  • Businesses that already have payroll/attendance sorted elsewhere and just need a clean leave-request workflow layered on top.

This is not a full HR/attendance/payroll suite — if you need daily attendance marking and payroll calculation too, see our Employee & Attendance Management System instead. The two are deliberately separate products so you're not paying for attendance/payroll tracking you don't need.

Key Features

Per-Employee Leave Balance

Every employee has a real, tracked annual leave balance. It's set when you add them and automatically reduced the moment their leave request is approved — no manual recalculation, no spreadsheet formula to maintain.

Approval Workflow With a Real Safeguard

Approving a request checks the employee's actual remaining balance first. If they don't have enough days left, the system blocks the approval and tells you exactly why — it's not possible to accidentally approve someone into a negative balance.

Configurable Leave Types

Casual, Sick, and Earned leave are included as a starting point — add, rename, or remove types to match your company's actual policy.

Filterable Request Log

Every request is filterable by status (pending/approved/rejected/all), so answering "what's still waiting on me" or "what did we approve this month" is a click, not a search.

What's Included

The full, unobfuscated PHP source code plus a MySQL schema file (.sql) ready to import — including the default admin login and starter leave types already seeded. Setup takes about 10-15 minutes on any standard PHP + MySQL hosting.

Technical Requirements

PHP 7.4+ (verified compatible with current PHP 8.x), MySQL 5.7+ or MariaDB 10+, the mysqli extension (enabled by default on virtually all hosting). No framework dependency — plain PHP, easy to read and modify.

Exact Buy & Setup Process

Step 1 — Buy Now

Click Buy Now, enter your name/email/phone, and pay via Razorpay (UPI, cards, netbanking, wallets all supported).

Step 2 — Get Your Download

A download link appears instantly and is emailed to you — valid 7 days, up to 5 downloads.

Step 3 — Upload & Configure

Extract the zip, upload to your hosting, create a MySQL database, and update the four values in config.php to match it.

Step 4 — Import & Log In

Import sql/schema.sql via phpMyAdmin, then log in with the default admin account (admin / admin123) and change the password immediately.

Frequently Asked Questions

Does this include attendance tracking too?

No — this product is scoped specifically to leave requests and approvals. For attendance and payroll, see our separate Employee & Attendance Management System.

Can employees log in and apply for their own leave?

As shipped, leave requests are entered by an admin/HR user on behalf of employees (a simpler, single-login model). Adding a separate employee-facing login is a realistic, well-scoped customization since the underlying data model already supports it.

What happens if I try to approve more days than someone has left?

The system blocks it and tells you exactly how many days they actually have remaining — this is a real safeguard, not just a suggestion.

Can I add more leave types?

Yes — leave types are fully editable from the admin panel, not hardcoded.

Is the commercial license included?

Yes — every purchase includes a genuine commercial license covering your own business or client work, with no non-commercial restriction.

Is this verified to work on PHP 8?

Yes — linted clean with no fatal errors and checked against known PHP-8-breaking patterns before listing.

Do you offer a refund?

Purchases are non-refundable once your order is marked paid — see the refund policy. If something's genuinely wrong, raise an issue from your orders page and we'll help you fix it directly.

Is support included?

Yes — email support is included with every purchase.

Key Features

  • Per-employee leave balance tracking
  • Configurable leave types
  • Approve/reject workflow with balance safeguard
  • Automatic balance deduction on approval
  • Filterable request log (pending/approved/rejected)
  • Admin dashboard

This vs. a Free Download

  phpguru.store Typical free download
Commercial & client-project use ✓ Full license included Often restricted to personal/non-commercial use
Complete, matching database file ✓ Included and tested Frequently missing, outdated, or mismatched
Runs on current PHP versions ✓ Verified before listing Old mysql_*-era code is common, fatal-errors on PHP 7/8
Support if setup goes wrong ✓ Email support included None — you're on your own

Frequently Asked Questions

What do I get after purchase?

A downloadable ZIP with the complete PHP source code and a MySQL database file (.sql), ready to install on standard PHP/MySQL hosting.

How is the code delivered?

Instantly after your Razorpay payment is confirmed — a secure download link is shown on-screen and emailed to you.

Can I customize this source code?

Yes, the full source code is included and free to modify for your own use or client projects.

Can I use this for a client project or resell a deployment?

Yes — purchasing gives you a license to use, modify, and deploy the source code for your own projects or client work, with no non-commercial restriction. If you also want to white-label it or run it as a hosted/SaaS service for your own customers, choose the Agency license at checkout — compare the two.

Do I need to know PHP to use this?

No PHP knowledge is needed to install and run it as-is — just basic comfort uploading files and importing a MySQL database via phpMyAdmin. Customizing the code beyond that does require PHP.

Will this work on shared hosting like Hostinger?

Yes — every product is plain PHP and MySQL with no special server modules or paid framework license required, and is built and tested on standard shared hosting before it's listed.

How is this different from a free copy of similar code I can find elsewhere?

Free downloads are commonly restricted to personal/non-commercial use, ship without a matching database file, and were never tested on current PHP versions. This includes a genuine commercial license, a tested matching database, verified PHP 8 compatibility, and email support if setup goes wrong.

Save with a bundle

This product is part of a bundle — several systems, one payment, one license.

AI Setup Assistant Prompt

A ready-made prompt for your own AI assistant (Claude, ChatGPT, Cursor — whatever you use) that walks it through getting this fully live on your domain: hosting, database, config, login, all of it.

I just purchased "Employee Leave Request & Approval System" (a PHP + MySQL application, delivered as leave_manager.zip) from phpguru.store and I want you to help me get it fully live on my own domain. Walk me through this step by step — one step at a time, and check in with me before moving to the next one, since I may need to tell you details about my own setup along the way.

Full prompt unlocks after purchase — in your Orders

Running a business site already? Check how AI-search-ready it is — free.

Free AI Visibility Snapshot →
₹799$19

One-time payment · Full source code · Instant delivery · Billed in USD, international cards accepted

License Compare the two licenses →
See preview pages

Real screens with sample data, read-only. The full system is in the download.

Secured by Razorpay. We never see your card/UPI details.

  • Full PHP + MySQL source code
  • Installable on any PHP hosting
  • Free to customize
  • PHP 8 compatibility verified before listing
  • Genuine commercial license — client work OK
  • Real email support if setup goes wrong

What happens after you pay

  1. 1. Download link appears instantly, plus emailed to you
  2. 2. Extract, upload to your hosting, import the included database
  3. 3. Log in and it's running — usually 15–30 minutes end to end
See the exact steps ↓

Purchases are non-refundable, but if anything's wrong you can raise an issue from your orders page and we'll help you fix it.

Want us to set it up for you?

Prefer not to handle hosting/database setup yourself? We'll do it for you.

  • Installation on your hosting from ₹1,999$29
  • Custom features / modifications from ₹4,999$69
Email us for a quote

Pricing depends on your hosting and what you need changed — we'll quote you directly, no surprise charges.