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

Hotel Management System

Front desk, bookings, invoices and a public booking page for one hotel

Take bookings and run your front desk with Hotel Management System — no commission on every booking, no monthly fee.

  • Instant delivery
  • Commercial license included
  • PHP 8 compatibility verified
₹3,999$69

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

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

An original PHP + MySQL front-desk system for small hotels, guest houses and resorts: room types and rates, rooms, guests, reservations with a date-range availability check, a month calendar, check-in and check-out, extra charges and payments on a folio, printable invoices with tax, housekeeping, three staff roles, monthly reports and a public page where guests check availability and request a booking. Written by PHPGuru; no third-party application code.

What you get

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

Included

  • Room types with a rate per night and a maximum number of guests; rooms with floor, bookable/maintenance and housekeeping state
  • Guest register (name, phone, email, ID type and number, address)
  • New booking: availability check for any date range, free rooms only, overlapping bookings impossible even under simultaneous requests
  • Same-day turnover allowed: a check-out and a check-in on the same date can share a room
  • Rate copied into the booking when it is made; later rate changes never alter existing bookings; managers can set a negotiated rate
  • Folio per booking: extra charges (room service, laundry, extra bed…), payments by cash/UPI/card/bank, running balance
  • Check-in only on or after the check-in date and only into a clean room; check-out issues the invoice, adjusts the nights for early or late departure, and marks the room for cleaning
  • Invoice with frozen figures (room, extras, tax %, paid, balance) and a print view; one invoice per booking, never duplicated
  • Payments cannot exceed the balance due; refunds for cancelled bookings are shown for manual handling
  • Month calendar of every room (reserved / in-house / maintenance), click to open the booking
  • Housekeeping list: rooms needing cleaning first, mark clean/dirty
  • Public booking page (book.php): availability by date and party size, request a room type; requests appear on the dashboard for the front desk to confirm by assigning a free room; can be switched off in settings
  • Dashboard: occupancy tonight, in-house, arrivals and departures due, pending requests, collections this month, rooms to clean, reservations that were never checked in
  • Reports by month: occupancy %, room-nights by type, collections by payment method, invoices issued, average rate, cancellations
  • Three roles: admin (everything), manager (no staff or settings), receptionist (front desk only); logins can be disabled
  • CSRF protection on every form, prepared statements throughout, login lockout after repeated failed attempts, honeypot and per-day limit on the public request form

What it is not

This is a front-desk tool for one property, not a channel manager or a payment gateway. It does not connect to Booking.com, Airbnb or any OTA, does not take online payments (requests are confirmed by the hotel), does not send SMS or email automatically, has no multi-property or chain reporting, no restaurant/POS module, no seasonal rate calendar (one rate per room type; managers can override per booking), and bookings cannot be re-dated after creation (cancel and rebook). Payments are recorded, never deleted; correct a mistake with a counter-entry note on the guest.

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). Bootstrap 5 and Bootstrap Icons load from the jsDelivr CDN; the app itself has no other dependency.
In the download
Full PHP source, database schema (sql/schema.sql), README with installation steps, college project report and viva questions.
Installation (6 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, then Hotel Settings -> hotel name, address, tax % → Add room types (with rates), then rooms. You are ready to take bookings. Prefer us to do it? Add installation at checkout.
Support & licence
Email support for installation questions is included; see the licence and support terms on phpguru.store. This software was written by PHPGuru (phpguru.store). No third-party application code is included; Bootstrap (MIT) is loaded from a CDN. Licence terms: Regular vs Agency.

Screenshots

Sound familiar?

  • Bookings come in by phone and WhatsApp and get double-booked or forgotten.
  • Booking platforms take a commission on every reservation.
  • Billing, memberships or rooms are tracked by hand at the end of the day.
  • Off-the-shelf software doesn't fit how your place actually works — and you can't change it.

Hotel Management 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

Take bookings and run billing on your own system — no per-booking commission.

Freelancers & agencies

Sell and install it for hotels, gyms, salons and restaurants near you; brand it for each client.

Students & learners

A full booking-and-billing project with real business logic to study.

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

Included in the download

College project pack for BCA, MCA & B.Tech students

The ZIP has a college-project-pack folder next to the source code, with what a final-year submission needs:

  • Project report template (.docx) — abstract, SRS, DFD/ER and use-case tables, the design of all 36 database tables, installation, workflow walkthrough, 14 test cases, screenshot list, references.
  • 29 viva questions with model answers — about this project's tables and workflow, plus PHP/MySQL fundamentals.
  • XAMPP installation steps for Windows and macOS.
  • README on using it honestly — what to change and how to declare the licensed base in your report.
See all college projects and how the pack works →
Full overview: who it's for, every feature explained, how it works

Hotel Management System in PHP: what it is

A self-hosted front-desk system for one property: a small hotel, guest house, resort or homestay. It is plain PHP 8 with MySQL, written by PHPGuru from our own base kit, and you receive every file unobfuscated with a complete database script. There is no framework to learn, no Composer step and no subscription. Install it on shared hosting, a VPS or XAMPP in ten minutes (see the installation guide).

Before buying, click through the preview pages: they are static captures of the real screens with sample data, so you can see the dashboard, the calendar, a booking folio and an invoice exactly as the software renders them.

Who it is for

  • Independent hotels and guest houses (roughly 5 to 60 rooms) that run the front desk on a register or a spreadsheet and want bookings, check-ins and bills in one place.
  • Resorts and homestays that take bookings by phone, WhatsApp and walk-in and need one availability view so a room is never given twice.
  • Freelance developers and agencies who deliver a hotel system to a client and want a clean, small codebase to customise, with a commercial licence that allows client work.
  • Students who need a real booking-and-billing system with a normalised schema for a final-year project; the download includes the college project pack.

It is not a channel manager or an online payment gateway: it does not sync with Booking.com or Airbnb and does not take card payments online. Guests send a booking request from the public page; the hotel confirms it. The full list of what is not included is further down.

What you get, screen by screen

Reservations and availability

Enter check-in and check-out dates and the system lists only the rooms that are free for every night, excluding rooms under maintenance. A booking occupies the nights from check-in up to (not including) check-out, so a departure and an arrival on the same day can share a room. Overlapping bookings are impossible even when two receptionists reserve the same room at the same second: the room row is locked while the booking is written. The rate is copied into the booking when it is made, so changing a room type's price later never alters existing bookings; a manager or admin can enter a negotiated rate for one booking.

Check-in, folio and check-out

Check-in is allowed on or after the booking date and only into a room marked clean. During the stay the folio collects extra charges (room service, laundry, extra bed) and payments by cash, UPI, card or bank transfer, and shows the running balance with the tax estimate. Check-out issues the invoice in one step, adjusts the nights if the guest leaves early or late, and marks the room for housekeeping. Payments can never exceed what is due; a cancelled booking that had an advance shows the amount to refund.

Invoice

One invoice per booking, numbered in sequence, with the room charges, each extra, the tax line (label and percentage from your settings, for example GST 12%), payments received and the balance. The figures are frozen on the invoice, so a later change to the tax rate does not touch old invoices. Print it from the browser.

Calendar, housekeeping and dashboard

The calendar shows every room for the month with reserved and in-house nights; click a cell to open the booking. Housekeeping lists rooms that need cleaning first. The dashboard shows occupancy tonight, in-house guests, arrivals and departures due, pending online requests, collections this month and reservations that were never checked in.

Public booking page

book.php needs no login: a guest enters dates and party size, sees the room types that are free with the price for those nights, and sends a request with name and phone. The request appears on the dashboard and the front desk confirms it by assigning a free room. The page has a honeypot and a per-address daily limit, and it can be switched to availability-only from the settings.

Staff roles and reports

Three roles: receptionists take bookings, check guests in and out, record payments and update housekeeping; managers also manage rooms, rates and reports; admins also manage logins and hotel settings. Reports by month: occupancy percentage from room-nights sold, room-nights by type, collections by payment method, invoices issued, average rate per sold night and cancellations.

What is in the download

The ZIP contains the application (27 PHP files in one folder), sql/schema.sql with the 11 tables and the default admin login, a README with installation steps and the exact list of what the product does and does not do, and the college project pack (report template and viva questions generated from this schema). Requirements: PHP 7.4 or newer (tested on PHP 8.5), MySQL 5.7+ or MariaDB 10+ (tested on MySQL 8.0), the mysqli extension. Bootstrap loads from a CDN.

Security built in

Prepared statements for every query, CSRF tokens on every form, bcrypt passwords, login lockout after eight failed attempts, role checks on every manager and admin page, and a locked row around every reservation and check-out so concurrent requests cannot create a double booking or a second invoice. Guest ID numbers are stored only if you enter them; keep to what your local guest-register rules require.

What is not included (so you know before you buy)

  • No channel manager or OTA sync (Booking.com, Airbnb, Expedia).
  • No online payments: requests are confirmed by the hotel and paid at the desk; add a gateway yourself if you need one.
  • No automatic SMS or email; no restaurant or point-of-sale module; no multi-property reporting.
  • One rate per room type (plus a per-booking override), no seasonal rate calendar.
  • Bookings cannot be re-dated after creation: cancel and rebook. Payments are recorded, never deleted.

Customising it

Every screen is a single PHP file that includes the shared config, auth and layout; list-and-form pages are described as a field array, so adding a column to guests or rooms is a few lines. The customisation guide walks through the real file structure. If you would rather not touch code, the installation add-on and the PHP Gurus on this site can do it for you.

Licence

Commercial licence included: use it for your own property or for a client project. You may not resell or redistribute the source code itself. Full terms on the licence page.

Key Features

  • Availability check by date range; double bookings impossible, even for simultaneous requests
  • Reservations with the rate frozen at booking time; managers can set a negotiated rate
  • Check-in only into a clean room on the date; check-out issues the invoice and adjusts nights for early or late departure
  • Folio per booking: extra charges, payments by cash/UPI/card/bank, running balance; payments never exceed what is due
  • Printable invoice with tax (GST label and % configurable), one per booking, figures frozen
  • Month calendar of every room; housekeeping list; dashboard with arrivals, departures and occupancy
  • Public booking page: guests check availability and send a request the front desk confirms
  • Three roles: admin, manager, receptionist; logins can be disabled
  • Monthly reports: occupancy, room-nights by type, collections by method, invoices, average rate

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.

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 "Hotel Management System" (a PHP + MySQL application, delivered as hotel_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 →
₹3,999$69

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.