Worked example · PHP and MySQL
Car Wash Management System source code
A local Car Wash Management System for a university. Managers configure services and prices, attendants track vehicles and bookings from arrival to completion, and cashiers record payment. All data is stored in MySQL via PHP and works fully offline.
A real system made by the same builder you would use. Yours is built for your own topic and answers, so its screens and tables will differ. This example is not a source-code download.
The problem it solves
A busy car wash needs a simple way to record customer vehicles, track each wash from waiting to completed, prevent double-booking a vehicle, handle payment, and give managers daily totals and printable reports without internet.
Project topic: Design and Implementation of a Car Wash Management System
Who uses it
manager
Runs the car wash. Sets services and prices, manages staff accounts, and sees all records, totals and reports.
- Add, edit and remove wash services and prices
- Create, view, update and cancel all bookings
- Record payments
- View, edit and deactivate staff accounts
- View daily totals, charts and printable reports
attendant
Handles vehicles arriving at the wash. Records customer and vehicle details, creates bookings and moves jobs through the wash stages.
- Record a customer and vehicle
- Create a booking for a service
- Update booking status: Waiting, In progress, Completed
- View the bookings list and own daily counts
cashier
Takes payment when a wash is completed and records the transaction.
- View completed jobs awaiting payment
- Record payment after a job is completed
- View today's money taken
What it does
Login and Roles
Secure login with hashed passwords, session regeneration, CSRF protection and role-based access. Manager, attendant and cashier see only their allowed menus and actions.
Vehicles and Customers
Attendants record customer name and phone, and vehicle plate number, make, colour and owner. Manager can view and edit all records. Plate numbers are unique.
Wash Bookings
Attendants create a booking for a vehicle and service, defaulting to Waiting. They assign a washer and move the job to In progress and Completed. Manager can cancel a booking. The list filters by plate number, date and status, with pagination. The main rule prevents a vehicle from having two active bookings.
Payment Recording
Cashier records payment for a completed job, choosing cash or simulated card. The payment amount is the booking amount. Today's money taken is shown. Receipts are simulated and printable.
Services and Prices
Manager adds, edits and removes wash services, including Exterior wash, Full wash, Interior cleaning and Polish and wax, each with a price in Naira.
Daily Report and Chart
Manager sees cars washed today, money taken today, and a bar chart of washes each day for the last seven days. A printable daily report lists completed bookings and payment totals.
Screenshots
Screenshots of the running system, taken by our checks. The records are sample data and are labelled so on each page.






Database tables
- usersStaff accounts for login and role-based access.id, username, password_hash, full_name, role, active, created_at
- customersCustomer details for vehicle ownership.id, full_name, phone, created_at
- vehiclesVehicles washed at the car wash.id, plate_number, make, colour, customer_id, created_at
- servicesWash services and prices set by the manager.id, name, price, active, created_at
- bookingsWash jobs from arrival to completion.id, vehicle_id, service_id, attendant_id, status, amount, created_at, updated_at
- paymentsPayments recorded for completed bookings.id, booking_id, cashier_id, amount, method, created_at
- settingsSmall key and value store, including the sample data label flag.setting_key, setting_value
Technology
- PHP. It ships with XAMPP, runs without internet and is the language chosen for this project.
- PDO with the MySQL driver. Placeholders keep user input out of the SQL text, and transactions and row locks protect a vehicle from double-booking.
- MariaDB / MySQL. It is the database bundled with XAMPP and needs no internet.
- Bootstrap. Gives a clean page on desktop and phone without a CDN.
- Chart.js. Charts the daily report offline from the bundled file.
How to run it: running a PHP project on XAMPP. Not sure which language to pick? Python or PHP.
How it was tested
75 of 75 tests passed, 75 of them automated. The system was also installed from scratch and every screen was opened as the right kind of user before it was accepted.
What it does not do
- Card payment and receipts are simulated, not real transactions.
- SMS notices are not sent.
- Parts inventory, stock, payroll and multiple branches are out of scope.
- There is no customer self-service portal.
- The database connection defaults to root with an empty password and is meant for one local XAMPP machine.
- Concurrent load and very large data sets have not been tested.
Chapters 3 and 4 from this system
With the MonoEd FYP Generator, signed in with the same Google account, press “Use my working system” when you write Chapter 3 or 4. Its real users, 7 database tables, screenshots and 75 test results go into the chapters, laid out under your supervisor's headings. Nothing is invented: anything the system cannot show, such as a user test, is left for you to fill in.
Want a car wash management system for your own school or business case?
Get a system built for your topic, with a guide, defence questions and screenshots. Plan it free, then ₦13,500 only if you want it built. View pricing.
Start with this topic