Skip to content

A PHP & MySQL-based system that allows users to rent cars, manage bookings, and process payments efficiently. It includes an admin panel for managing cars and users, along with a user dashboard for easy bookings.

Notifications You must be signed in to change notification settings

hassanshehzad1/Car_Rental_Managment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Car_Rental_Managment

A PHP & MySQL-based Car Rental Management System that allows users to rent cars, manage bookings, and process payments efficiently.

Features

  • User Registration & Login (Customer & Admin)
  • Car Listing with Availability Status
  • Booking System (Start & End Date Selection)
  • Price Calculation Based on Rental Duration
  • Payment Processing (Manual / Online)
  • Admin Panel (Manage Cars, Users, & Bookings)
  • Booking Status Update (Car Marked as Rented)
  • Car Return & Availability Update
  • Admin add vehicles and branches

Tech Stack

  • Frontend: HTML, CSS, JavaScript, Bootstrap
  • Backend: PHP
  • Database: MySQL || SQL

Installation & Setup

Clone the Repository

git clone https://github.com/your-username/Car-Rental-Management.git cd Car-Rental-Management

Database Configuration

  • Open phpMyAdmin and create a database: car_rental_db
  • Import the SQL file from the database/ folder.
  • Configure Database Connection

    $host = "localhost"; $user = "root"; // Change if necessary $password = ""; // Change if necessary $database = "car_rental_db"; $conn = new mysqli($host, $user, $password, $database);

    Start Local Server

    php -S localhost:8000

    How to Use?

    • Register/# as a customer
    • Browse available cars
    • Select rental start & end date
    • Confirm booking & proceed to payment
    • Admin manages bookings from the dashboard
    • Admin add vehicles and branches

    Troubleshooting

    • Register/# as a customer
    • Browse available cars
    • Select rental start & end date
    • Confirm booking & proceed to payment
    • Admin manages bookings from the dashboard

    About

    A PHP & MySQL-based system that allows users to rent cars, manage bookings, and process payments efficiently. It includes an admin panel for managing cars and users, along with a user dashboard for easy bookings.

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published