Skip to content

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.

Notifications You must be signed in to change notification settings

satishsurani/Mybus-Bus-Booking-site

Repository files navigation

🚌 Bus Booking System

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.


🚀 Features

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.


🛠️ Tech Stack

  • Frontend: HTML, CSS, JavaScript, AJAX
  • Backend: PHP, MySQL
  • Payment Gateway: Razorpay
  • Email Service: PHPMailer (or SMTP)

📂 Installation Guide

  1. Clone the repository:
    git clone https://github.com/satishsurani/Mybus-Bus-Booking-site
  2. Navigate to the project folder:
    cd Mybus-Bus-Booking-site
  3. Import the database:
    • Open phpMyAdmin
    • Create a new database (e.g., mybus)
    • Import the provided SQL file (mybus.sql)
  4. Configure the database connection:
    • Open admin/inc/db_config.php
    • Update the database credentials:
      $host = 'localhost';
      $username = 'root';
      $password = '';
      $database = 'mybus';
  5. Start a local server (e.g., XAMPP or WAMP) and access the project via browser:
    http://localhost/Mybus-Bus-Booking-site/
    

🔑 Admin Panel Credentials

  • Username: admin
  • Password: 123

🤝 Contributing

We welcome contributions! Feel free to submit pull requests or report any issues.


📜 License

This project is licensed under the MIT License.


📬 Contact

About

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.

Topics

Resources

Stars

Watchers

Forks