A web-based Bus Booking System that allows users to register, log in, view available routes, and book bus tickets. Admins can manage routes and view bookings. This project was developed as a final-year college project using core PHP, MySQL, HTML, and CSS — without any modern frameworks.
- User Registration & Login
- View Available Buses & Routes
- Book Bus Tickets
- View & Manage My Bookings
- Admin Login
- Add New Routes
- View All Bookings
- Manage Bus Details
- Frontend: HTML, CSS (Vanilla)
- Backend: PHP (Core PHP)
- Database: MySQL
- Tools: WAMP/XAMPP Server for local hosting
- PHP (7.x or 8.x)
- MySQL or MariaDB
- Apache Server (via XAMPP/WAMP)
- Clone the repository:
git clone https://github.com/yourusername/bus_bookingsystem.git
C:/xampp/htdocs/bus_bookingsystem/
C:/wamp/www/bus_bookingsystem/
-
- Open http://localhost/phpmyadmin in your browser.
- Create a new database named: bus
- Click on the database → Import → Choose 'bus.sql' from the project folder → Click Go
-
// File: db.php or db_connection.php $host = 'localhost'; $username = 'root'; $password = ''; // Default password for XAMPP/WAMP $database = 'bus';
SAMPLE CREDENTIALS:
| Role | Username | Password |
|---|---|---|
| Admin | admin | admin123 |
| User | test | test123 |
📃 License This project is for educational purposes only and does not come with any warranty. You are free to modify, use, or enhance it as per your needs.
🙋♂️ Author
Developed by Ammiyo Paul
🎓 Final Year BCA | MCA Student
📧 ammiyopaul1234@gmail.com