The Library Management System is a PHP-based application designed to manage various aspects of a library. The system provides an interface for the admin to perform various operations such as managing books, authors, publishers, categories, racks, issuing books, and managing student records.
- Manage Books: Add, Edit, Delete, and View Books.
- Manage Categories: Add, Edit, Delete, and View Categories.
- Manage Authors: Add, Edit, Delete, and View Authors.
- Manage Publishers: Add, Edit, Delete, and View Publishers.
- Manage Racks: Assign books to specific racks for easy access.
- Issue Books: Issue books to students with tracking functionality.
- Manage Students: Add, Edit, Delete, and View student records.
- PHP: Server-side scripting language for application logic.
- MySQL: Database management system for storing book, student, and transaction data.
- HTML/CSS: Front-end technologies for creating the user interface.
- JavaScript: For interactive elements and form validations.
- Bootstrap 5: For responsive design and modern UI components.
- Download or clone the repository from GitHub.
- Extract the files into your server directory (e.g.,
/var/www/htmlfor Apache on Linux). - Import the
libraryhub.sqlfile into your MySQL database using phpMyAdmin or MySQL command line. - Configure the database connection in
config/Database.phpwith your MySQL credentials. - Ensure your server is running PHP and MySQL.
- Open the application in your browser (e.g.,
http://localhost/libraryhub/).
The admin has full control over the following modules:
- Books: Admin can add new books, update book details, and delete books.
- Categories: Admin can create and manage categories for books.
- Authors: Admin can add and manage authors.
- Publishers: Admin can add and manage publishers.
- Racks: Admin can assign books to racks for efficient placement.
- Issue Books: Admin can issue books to students, track issued books, and set return dates.
- Students: Admin can manage student records, including adding, updating, and deleting student details.
The system uses the following tables:
- book: Stores information about books (title, author, publisher, category, etc.).
- category: Stores book categories (e.g., fiction, science, etc.).
- author: Stores authors’ details (name, bio, etc.).
- publisher: Stores publisher details.
- user: Stores student information (name, contact details, etc.).
- rack: Stores book rack assignments.
- issued_book : Tracks books issued to students and their return dates.
Once the system is installed and running, the admin can log in to the admin panel with their credentials. From there, they can manage all the functionalities available. The main pages of the admin panel include:
- Books Management: View, Add, Edit, Delete books.
- Category Management: Add, Edit, Delete categories.
- Author Management: Add, Edit, Delete authors.
- Publisher Management: Add, Edit, Delete publishers.
- Rack Management: Assign books to racks.
- Issue Management: Issue books to students and track returns.
- Student Management: Add, Edit, Delete students.
If you want to contribute to this project, please fork the repository, create a feature branch, make your changes, and submit a pull request.