A modern web-based Library Management System designed to simplify and automate core library operations like book issuance, cataloging, and request tracking.
Built with PHP, MySQL, TailwindCSS, HTML, CSS, and JavaScript — following an organized structure for scalability and maintainability.
A fully improved multi-step system for handling student borrow requests.
- Borrow Request Table (
tblrequests) now uses string-based status tracking:Pending,Approved,Rejected. - Secure Direct Issuance:
When a librarian clicks “Issue”, the system:- Updates
tblrequests.Status→'Approved' - Decrements
tblbooks.bookCopies - Inserts a record into
tblissuedbookdetails(withExpectedReturnDatebased on system settings)
- Updates
- Smooth UI Flow:
- Tailwind modals replace JavaScript alerts for confirmations.
- Book cover image is shown in the request list for instant recognition.
Improved to match real-world procurement flow.
- Three-Stage Status:
- Pending: Awaiting librarian review
- Approved: Approved for purchase (does not add directly to
tblbooks) - Cataloged: Book is added through
add-book.phponce it arrives
- Smart Catalog Transfer:
Approved requests pre-fill the Add Book form for easy cataloging.
| Layer | Technology Used |
|---|---|
| Frontend | HTML5, CSS3, JavaScript, TailwindCSS, Font Awesome |
| Backend | PHP (Server-side logic) |
| Database | MySQL/MariaDB (with PDO) |
| Web Server | Apache (XAMPP Recommended) |
- XAMPP / WAMP / LAMP
- PHP 7.4+
- MySQL or MariaDB
-
Clone the Repository
git clone https://github.com/abhishek-2006/Library-Management-System.git
-
🗂️ Move Project Files Place the project folder into your web server root (for XAMPP):
C:\xampp\htdocs\Library Management System
Open phpMyAdmin
Create a new database named:
libraryImport the SQL file from:
sql file/library.sqlOpen:
library/includes/config.phpUpdate credentials if needed:
$dbh = new PDO("mysql:host=localhost;dbname=library", "root", "");Open your browser and go to: 👉 http://localhost/Library%20Management%20System/
Username: admin
Password: admin
Made with ❤️ by Abhishek Shah
Give this project a ⭐ if you found it useful.
This project is licensed under the MIT License.