Petty Cash Book
Track small cash in and out with vouchers, categories and monthly reports, in PHP
Keep invoices, ledgers and payments organised with Petty Cash Book — your numbers on your own hosting.
- Instant delivery
- Commercial license included
- PHP 8 compatibility verified
One-time payment through Razorpay, in ₹ (UPI, card, netbanking) or US$ · instant download
- 47 PHP systems · 17 courses
- Live preview of every system
- Full source code + README
- Commercial license included
- Secure Razorpay checkout
One-time payment · Instant download
Secured by Razorpay · we never see your card/UPI details
What you get
Taken from this product's own README (included in the download). A PHPGuru-developed product.
Included
- Cash in and cash out entries with numbered vouchers (PC-00001...)
- Editable categories
- Cash out is refused when it would exceed the cash in hand
- Wrong entries are voided with a reason, never deleted
- A cash-in that has already been spent cannot be voided
- Monthly report: opening balance, cash in, cash out, closing balance, spending by category
- CSV export that is safe to open in a spreadsheet
- CSRF protection on every form, prepared statements throughout, and a login lockout after repeated failed attempts
What it is not
This is a single cash box. It does not do double-entry accounting, multiple cash boxes or bank accounts, GST, receipts or bill attachments, approvals or multi-user permissions, or budgets.
- 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.
Screenshots
Sound familiar?
- Invoices, ledgers or loans are tracked in spreadsheets that break and go out of date.
- Accounting software is more (and costs more) than a small business needs.
- Finding what's due, paid or overdue takes too long.
- Your financial data lives on someone else's servers.
Petty Cash Book 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
Simple, focused finance tracking you own — no monthly fee.
Freelancers & agencies
Set it up for shops, lenders and small firms and customise it to their process.
Students & learners
A working finance project with calculations, balances and reports.
Freelancers: the license covers client projects, so one purchase can become paid work.
It's not for you if…
- You want a hosted service someone else runs for a monthly fee. This is source code you install on your own hosting and own outright.
- You need features that aren't listed on this page. Check "What you get" and the preview first; changes are yours to make in the code, or ours as a quoted service.
- You'd want your money back after downloading. Delivery is instant, so purchases are non-refundable — if something doesn't work, we help you fix it instead.
How it works
Step 1
Pay once
UPI, card or netbanking through Razorpay. No subscription.
Step 2
Download straight away
The link appears on screen and in your email, and stays in My Orders.
Step 3
Install and use it
Upload it to PHP/MySQL hosting and follow the included guide — or have us install it for you. Then brand it and use it, or deliver it to your client.
Ready when you are
One-time payment · instant download · commercial license
Also runs offline on your Windows PC or Mac
- Website
- Mac
- Windows
The same price includes a desktop edition for Windows and Mac: download it, double-click, and Petty Cash opens in your browser. No hosting, no database to set up, no internet needed. Your data stays in a file on your own computer.
It is for one computer and one person at a time. To use it from several computers or a phone, install the website edition on hosting instead: you get both.
Full overview: who it's for, every feature explained, how it works
Petty Cash Book — Overview
A ready-to-deploy PHP and MySQL petty cash book. Record money received into the cash box and money spent out of it, each with a numbered voucher and a category. The cash in hand is always known, spending more than you have is impossible, and the monthly report shows exactly where the money went.
Who This Is For
- Shops, offices, clinics and workshops that keep a small cash float and want to know where it went.
- Anyone who currently writes petty cash in a notebook or a loose spreadsheet.
- Developers who need a tested cash ledger model for a client.
This is a single cash box. It does not do double-entry accounting, multiple cash boxes or bank accounts, GST, receipts or bill attachments, approvals or multi-user permissions, or budgets.
Key Features
The balance can never go negative
Every cash-in, cash-out and void takes one lock on the cash box, so simultaneous entries cannot overspend. In our tests, eight people spending 300 each from a 1,000 float resulted in exactly three approved and 100 left.
Voids keep the history
Entries are never deleted. A void needs a reason and shows struck through with that reason. If voiding a cash-in would leave the box negative because the money was already spent, it is refused.
Reports you can hand to the owner
Pick a month for the opening balance, total in and out, closing balance and a spending-by-category breakdown, or download the month as CSV. Entries that start with =, +, - or @ are neutralised so a spreadsheet cannot run them as formulas.
Exact money
Amounts are fixed-point decimals, so 0.10 + 0.20 is exactly 0.30.
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
Can I have more than one cash box?
Not in this version; it is a single petty cash box.
Can staff enter their own expenses?
There is one admin login. Multiple users with permissions would be a customization.
Can I attach bills?
No.
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
- Cash in and cash out entries with numbered vouchers (PC-00001...)
- Editable categories
- Cash out is refused when it would exceed the cash in hand
- Wrong entries are voided with a reason, never deleted
- A cash-in that has already been spent cannot be voided
- Monthly report: opening balance, cash in, cash out, closing balance, spending by category
- CSV export that is safe to open in a spreadsheet
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 |
Own Petty Cash Book today
One-time payment · instant download · free to customise · commercial license
Reviews from buyers
No reviews yet. Bought this product? You can review it from My Orders or with the link in your order email. Only verified buyers can review, and critical reviews are published too.
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. Reselling it under your own brand or running it as a hosted service for other businesses is not included.
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.
Get Petty Cash Book
Keep invoices, ledgers and payments organised with Petty Cash Book — your numbers on your own hosting.
One-time payment by UPI, card or netbanking through Razorpay · instant download · no subscription
Save with a bundle
This product is part of a bundle — several systems, one payment, one license.
Works Well With
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 "Petty Cash Book" (a PHP + MySQL application, delivered as petty_cash.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.
Running a business site already? Check how AI-search-ready it is — free.
Free AI Visibility Snapshot →One-time payment · Full source code · Instant delivery · Billed in USD, paid by card
License
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. Download link appears instantly, plus emailed to you
- 2. Extract, upload to your hosting, import the included database
- 3. Log in and it's running — usually 15–30 minutes end to end
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
Pricing depends on your hosting and what you need changed — we'll quote you directly, no surprise charges.