Library management system in PHP

This library management System is a web application which can be used by library owners to create an online library system for students who want to borrow books. This system helps librarians to keep records of books in library. This system is written in PHP and uses MySQL database.

Library management system in PHP
Library management system in PHP

Library management system in PHP

Table of content

  1. About the library management system in PHP
  2. Features of the library management system in PHP
  3. Script detail
  4. Server Requirements
  5. Video Demonstration
  6. Step by step to run the downloaded source code
  7. The screenshots

About the library management system in PHP

 This library management System is a web application which can be used by library owners to create an online library system for students to want to borrow books or return borrowed books. This system helps librarians to keep records of books in library.  This system is written in PHP and uses MySQL database. This website is mobile friendly.    

This library system has an administrator panel for the library staffs to manage the books in the library online. From the admin panel, the admin can add or mange books already in the physical library so that when a student visits the library website, they can see available books. etc.

The administrator is the only one who can add students, then gives the student his/her student ID so they can login to their dashboard and view there borrowed/returned books.

The admin is the only one who can borrow student book and return the book when the student returns the book to the physical library.

This Website is mobile friendly and has features which are listed below.

Features of the library management system in PHP

Admin panel

  • Dashboard – Showing the website activities information like the website like total books, total students, borrowed and returned books, graphical representation of borrowed and returned books, etc.
  • Borrow books to students.
  • Return the books borrowed to students.
  • Add book.
  • Delete added book.
  • Manage all added books.
  • Create categories for books.
  • Manage categories for books.
  • Add students.
  • Edit/Delete students.
  • Add course.
  • Edit/Delete course.
  • Login and logout system.
  • Update admin information/password.

Home page/Users Side

  • Search for books, author, etc.
  • View all available and unavailable books.
  • Search by category.
  • Login using Student ID.
  • View all borrowed and returned books.

Script Details

Written in PHP, HTML, JS
Database MYSQL
Design Bootstrap, CSS
Includes README file
Type web application
Download type Zip file
Download size 19.9mb

Requirements

 Almost all servers already have them installed.

  • PHP 8.0 upward
  • MYSQL Database

Video Demonstration

Watch Video for easy installation

Step by step to run the script (installation)

A server is required to run this project. We will be using XAMPP.

For XAMPP

  1. The script is provided below, click on download to start downloading the script.
  2. Go to your download folder in your Pc and extract the source code folder.
  3. Copy the folder you extracted and paste it in (for XAMPP xampp/htdocs, for WAMPP wampp/www, for LAMPP var/www/html) root directory in your pc.
  4. Open your XAMPP Control panel and start Apache and MYSQL.

Creating the database

  1. Open your preferred browser.
  2. Go to this path “http://localhost/phpmyadmin/
  3. Click on New on the left side of the screen.
  4. Create a database named “libsystem”.
  5. Click on the import tab.
  6. Click on browse file and select “libsystem.sql” file from the db folder we extracted.
  7. Click on Go.

After creating a database

  1. Open a new tab on your browser and go to the path. E.g. “http://localhost/libsystem/ OR http://localhost/[The project folder]/ the home page with all books available in library will be displayed.
  2. Login using the details below.
  3. For admin login go to http://localhost/libsystem/admin

This Library management system can be used by IT students for their projects. This project is written in PHP and uses MySQL database. This web application can be downloaded below, using the download button provided below. You might get errors if you use PHP version greater or lesser than the one we have provided in the requirements.

Other info

Admin

Username: Watch Video or in Zip (readme file)

Password: Watch Video or in Zip (readme file)

Zip password – alpha code camp

SCREENSHOTS

Library management system in PHP

Library management system in PHP

Library management system in PHP