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

Payroll & Payslip Generator

Monthly payroll for small teams: salary snapshots, absences, PF, printable payslips, in PHP

Handle attendance, leave, payroll or hiring with Payroll & Payslip Generator — without paying per employee, per month.

  • Instant delivery
  • Commercial license included
  • PHP 8 compatibility verified
₹1,299$34

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

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

A PHP + MySQL payroll system for small businesses: employees, one-click monthly payslips, absent-day and PF deductions, draft to final to paid workflow, printable payslips.

What you get

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

Included

  • Employees with basic salary, allowances and joining date
  • Create the whole month's payslips in one click; running it twice never duplicates
  • Only active employees who had joined by month end are included
  • Absent-day deduction, bonus, other deductions and provident fund (percentage of basic, configurable)
  • Money worked in paise, so amounts are exact to the paisa
  • Draft, final, paid workflow: only drafts can be edited or deleted; only final can be paid
  • A later salary change never alters an existing payslip
  • Printable payslips and a month total
  • CSRF protection on every form, prepared statements throughout, and a login lockout after repeated failed attempts

What it is not

IMPORTANT: this is a simple payroll calculator, not a statutory compliance system. It does not calculate income tax (TDS), professional tax, ESI or employer PF contributions, generate Form 16 or challans, prorate a joining month, handle leave balances or overtime, or send payslips by email. Check your statutory obligations separately. PF here is a single percentage of basic salary deducted from the employee (PF_PERCENT in config.php, default 12).

Requirements & testing
PHP 7.4+ (tested on PHP 8.5), MySQL 5.7+ or MariaDB 10+ (tested on MySQL 8.0), the 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 → 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.

Payroll & Payslip Generator 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

Payroll & Payslip Generator — Overview

A ready-to-deploy PHP and MySQL payroll generator. Add your employees once, then each month click one button to create everyone's payslip. Adjust absent days, bonus and other deductions on each draft, finalise the month, print the payslips and mark them paid. The maths is done in paise so every payslip adds up exactly.

Who This Is For

  • Small businesses, shops, clinics and offices paying 5 to 100 staff monthly who calculate salaries in a spreadsheet.
  • Accountants and small HR desks who need clear payslips without buying a payroll suite.
  • Developers who need a tested payroll calculation model for a client.

IMPORTANT: this is a simple payroll calculator, not a statutory compliance system. It does not calculate income tax (TDS), professional tax, ESI or employer PF contributions, generate Form 16 or challans, prorate a joining month, handle leave balances or overtime, or send payslips by email. Check your statutory obligations separately. PF here is a single percentage of basic salary deducted from the employee (PF_PERCENT in config.php, default 12).

Key Features

Salaries are snapshotted

Each payslip stores the basic pay and allowances as they were when it was created. Raising an employee's salary next month does not change last month's payslip.

A workflow that protects paid months

Drafts can be adjusted or deleted. Once finalised a payslip is locked; only a finalised payslip can be marked paid, and only once. Eight simultaneous edits racing a finalise in our tests ended with a consistent, frozen payslip.

Exact to the paisa

Absent deduction is fixed pay x absent days / days in the month, computed in integer paise: 10,000 over 31 days for one absent day is 322.58, and every total adds up.

Idempotent monthly run

Creating payslips for a month twice, or from two browser tabs at once, still gives exactly one payslip per employee.

What's Included

The full, unobfuscated PHP source and a MySQL schema file ready to import, with the default admin login seeded. Setup takes about 10-15 minutes on any standard PHP + MySQL hosting.

Technical Requirements

PHP 7.4+ (tested on PHP 8.5), MySQL 5.7+ or MariaDB 10+ (tested on MySQL 8.0), and the mysqli extension. Plain PHP, no framework dependency. Every form is CSRF-protected and all database access uses prepared statements.

Exact Buy & Setup Process

Step 1 — Buy Now

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

Step 2 — Get Your Download

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

Step 3 — Upload and Configure

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

Step 4 — Import and Log In

Import sql/schema.sql via phpMyAdmin, then log in (admin / admin123) and change the password from the top bar.

Frequently Asked Questions

Does it calculate TDS or ESI?

No. Only the simple percentage PF deduction, absent days, bonus and other deductions.

What about an employee who joins mid-month?

They are included from the month they join, at the full month's pay. Enter their missing days as absent days on the draft.

Can employees see their payslips?

Not in this version. Staff print or share them.

Is the commercial license included?

Yes — every purchase includes a genuine commercial license for your own business or client work.

Is it tested on PHP 8?

Yes — every page was tested end to end on PHP 8.5 with MySQL 8, including bad-input and concurrent-request checks.

Do you offer a refund?

Purchases are non-refundable once paid — see the refund policy. If something is genuinely wrong, raise an issue from your orders page and we will help fix it.

Is support included?

Yes — email support is included with every purchase.

Key Features

  • Employees with basic salary, allowances and joining date
  • Create the whole month's payslips in one click; running it twice never duplicates
  • Only active employees who had joined by month end are included
  • Absent-day deduction, bonus, other deductions and provident fund (percentage of basic, configurable)
  • Money worked in paise, so amounts are exact to the paisa
  • Draft, final, paid workflow: only drafts can be edited or deleted; only final can be paid
  • A later salary change never alters an existing payslip
  • Printable payslips and a month total

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 "Payroll & Payslip Generator" (a PHP + MySQL application, delivered as payroll.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 →
₹1,299$34

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.