Simple Online Book Store System in PHP Free Source Code



This simple project is a Simple Online Book Store System. This is a web-based application project developed in PHP and MySQL Database. This project's main goal is to provide an automated and online Shop or Store for books. This can help the Book Stores or Book Shops to market or sell their book products online. It has a simple and pleasant user interface using the Bootstrap 5 Framework to give end-users a better experience while using the site. The system consists of user-friendly features and functionalities.

About the Simple Online Book Store System

This project was developed using the following:

  • PHP version >= 7
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • Bootstrap 5 Framework
  • FontAwesome

This Simple Online Book Store System Project is accessible to both the Public and the Shop's Management. The Public Site does not require any login or registration to the users or possible customers of the shop. They can simply explore all the available book products in the store. Users can also read some details about the book such as the publisher's name or etc. They can add their desired books to their shopping cart where they can place an order later. On the cart list, users can also update the quantity of the books they wanted to buy. On the "Checkout" page, users are required to fill the fields on the form shown below their cart items details and also the same on the "Payment Page".

The Admin Panel on this project requires the user to log in with his or her valid administrator credentials to gain access to the features and functionalities. Here, the administrator can list all their books product, add new books, edit book details, and delete products.



  • Login
  • List All Books
  • Add New Book
  • Edit Book Details
  • Delete Book
  • Logout


  • Home Page/Displays the Latest Books
  • List All Books
  • List All Publishers
  • List All Books per Publishers
  • View Product Details
  • Add Product to Shopping Cart
  • Update Shopping Cart Items Quantity
  • Checkout Form
  • Payment Form

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Public Home Page

Simple Online Book Store System

Public Book List

Simple Online Book Store System

Shopping Cart

Simple Online Book Store System

Checkout Page

Simple Online Book Store System

Admin Site

Simple Online Book Store System

How to Run ??


  • Download and Install any local web server such as XAMPP.
  • Download the provided source code zip file. (download button is located below)

System Installation/Setup

  1. Open your XAMPP Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming obs_db.
  6. Import the provided SQL file. The file is known as obs_db.sql located inside the database folder.
  7. Browse the Simple Online Book Store System in a browser. i.e. http://localhost/obs.

Default Admin Access:

Username: admin
Password: admin123


That's it. You can now explore the features and functionalities of this Simple Online Book Store System in PHP. I hope this 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 for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


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.


Submitted byabdoma (not verified)on Fri, 02/17/2023 - 18:47

thank you
Submitted byAnonymous (not verified)on Mon, 04/17/2023 - 14:23


Add new comment