A dynamic Bus Booking System built using PHP, MySQL, AJAX, JavaScript, HTML, and CSS. This web-based platform allows users to seamlessly search, filter, and book bus tickets with real-time seat availability and secure payment integration.
✅ Real-Time Seat Availability – Instantly check and book available seats.
✅ Seat Selection – Choose your preferred seat before confirming your booking.
✅ Secure Payments – Integrated Razorpay Payment Gateway for smooth transactions.
✅ Admin Panel – Efficiently manage routes, bookings, buses, and customer details.
✅ Route & Schedule Filtering – Search and filter buses by date, time, and destination.
✅ User Authentication – Secure login and registration system for customers.
✅ Booking History – Users can view and manage past bookings.
✅ Email Notifications – Automated booking confirmation emails via PHPMailer or SMTP.
✅ AJAX-Powered Interface – Enjoy smooth, dynamic interactions without page reloads.
- Frontend: HTML, CSS, JavaScript, AJAX
- Backend: PHP, MySQL
- Payment Gateway: Razorpay
- Email Service: PHPMailer (or SMTP)
- Clone the repository:
git clone https://github.com/satishsurani/Mybus-Bus-Booking-site
- Navigate to the project folder:
cd Mybus-Bus-Booking-site
- Import the database:
- Open phpMyAdmin
- Create a new database (e.g.,
mybus
) - Import the provided SQL file (
mybus.sql
)
- Configure the database connection:
- Open
admin/inc/db_config.php
- Update the database credentials:
$host = 'localhost'; $username = 'root'; $password = ''; $database = 'mybus';
- Open
- Start a local server (e.g., XAMPP or WAMP) and access the project via browser:
http://localhost/Mybus-Bus-Booking-site/
- Username:
admin
- Password:
123
We welcome contributions! Feel free to submit pull requests or report any issues.
This project is licensed under the MIT License.
- Portfolio: https://satishsurani.vercel.app/
- LinkedIn: https://www.linkedin.com/in/satishsurani
- GitHub: https://github.com/satishsurani