Cab Management System in PHP/OOP Free Source Code
Introduction
This is a simple project entitled Cab Management System. This project was written in PHP/OOP and data are stored in a MySQL Database. This project is a web-based application that provides an online cab booking platform for the commuter. This application can also help cab operator's drivers to have an efficient and effective way for them to find a possible commuter. The application is easy to use and has user-friendly features and functionalities. It also has a simple and pleasant user interface to give end-users a better experience while using the web application.
About the Cab Management System
I developed this project using the following:
- XAMPP v3.3.0 as my local webserver that has a PHP Version 8.0.7
- PHP Language
- MySQL Database
- HTML
- CSS
- JavaScript
- jQuery
- Ajax
- Bootstrap
- AdminLTE
The Cab Management System Project has 3 sides of the user interface. It has a side for Management, Clients/Commuter, and Drivers. Each of the user groups has different restrictions to each other.
The Management Side is the side of the system where the management can manage and access all the data in the system. This side is mainly for managing the cab, clients, and driver list. There 2 types of user roles who can access this side which are the Administrators and the Staff. The Administrators are the ones who have the privilege to manage and access all features and functionalities that the said side of the system has. While the Staff users have only limited access.
The Client-Side is the side of the system for the public/commuters/possible commuters. This side has a registration form where the clients can create their accounts to access more features of the said side. The registered client can book a cab, list their cab bookings, and cancel a booked cab. The clients can simply select a cab from the available cabs. To book a cab, the client will simply select or click the cab details container and the cab booking form will be shown. He/she will enter his/her pickup and drop-off location. Commuters are only allowed to cancel the booking if it is still on pending status.
The Driver-Side is the side of the system for the cab drivers. This side will allow the drivers to be informed if commuters booked them. They can update the status of clients booking to Confirmed, Picked Up, and Dropped off.
Features
Management-Side
- Secure Login and Logout
- Dashboard
- Display the summary of lists.
- Cab Category Management
- Add New Category
- List All Categories
- View Category
- Update Category
- Delete Category
- Cab Management
- Add New Cab with Drivers Account and Details
- List All Cabs
- View Cab and Driver details
- Update Cab Details and Driver Details/Credentials
- Delete Cab
- Clients Management
- List All Clients
- View Client
- Update Client Details/Credentials
- Delete Client
- Bookings
- List All Bookings
- View Booking Details
- Manage User List (CRUD)
- Manage Account Details/Credentials
- Manage System Information
Driver-Side
- Secure Login/Logout
- List All Bookings
- View Booking Details
- Update Booking Status
- Manage Account Details/Credentials
- Logout
Client-Side
- Secure Login and Registration
- Read 'Welcome' Content
- Read 'About Us' Content
- List All Available Cab
- Book a Cab
- Cancel Booking
- Manage Account Details/Credentials
- Logout
System Snapshots of some Features
Public Home Page
Booking List (Client/Driver-Side)
Booking Details (Client/Driver-Side)
Management Dashboard
Cab & Driver Details (Management-Side)
How to Run ??
Requirements
- Download and Install any local web server such as XAMPP/WAMP.
- Download the provided source code zip file. (download button is located below)
Installation/Setup
- Enable or Uncomment the GD Library on your php.ini file.
- Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
- Extract the downloaded source code zip file.
- If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
- Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
- Create a new database naming cms_db.
- Import the provided SQL file. The file is known as cms_db.sql located inside the database folder.
- Browse the Cab Management System in a browser. i.e. http://localhost/cms/.
Default Admin Access
Username: admin
Password: admin123
Sample Driver Access
Username: 202202-00001
Password: gwilliams123
Sample Client Access
Username: [email protected]
Password: cblake123
DEMO VIDEO
That's it. You can now explore the features and functionalities of this Cab Management System in PHP. I hope this project will help you with what you are looking for and you'll find something useful for your future projects.
Explore more on this website for more Free Source Codes and Tutorials.
Enjoy :)
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Comments
Hi, sorry for the…
Hi, sorry for the inconvenience. The source code file is now updated. You can download it again. Thank you for raising your concern. :)
Fatal error: Uncaught Error:…
Error
hello! I just downloaded the…
Add new comment
- Add new comment
- 20725 views