Library Management System Using PHP and MySQL with Source Code


This is a Simple Library Management System project that was developed using PHP. The system has 2 types of system users which are the Administrator and the students. The administrator is in charge to manage system data such as the books. The student users can read the announcements and borrow books. The system also computes the overdue fines of the students for their borrowed books. This is a simple library system that can help you to understand how to create a web application like this especially for those beginners and new to PHP Language.

The advent of diverse information technology systems has revolutionized the way of doing things. A majority of business solutions are automated to meet the changing needs of the end-users. Information systems have proved to be effective in implementing the business processes of most organizations and institutions across the globe.

This project was developed using PHP, HTML, CSS, Javascript, and bootstrap for the design.



  • Manage Announcement
  • Manage Books
  • Manage Admin Users
  • Manage Student List
  • View Borrowed Books
  • Manage Fines


  • View Profile
  • Borrow Books
  • Check Fines

How to Run


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


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "library_db".
  6. Import the provided SQL file. The file is known as "library_db.sql" located inside the extracted source code folder.
  7. Browse the Library Management System in a browser. i.e. http://localhost/LibraryManagement

Admin Access

Username: fozzy
Password: 1234

That's it! You can now explore the features and functionalities of this Library Management System Project in PHP and MySQL Database. I hope this can help you with your needs and you'll find something useful for your future projects.

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 byThanika (not verified)on Sun, 08/12/2018 - 11:29

Working on a school solution...looking at his for pointer
Submitted bybads (not verified)on Thu, 12/20/2018 - 10:46

nice system thank for this man
Submitted byRocky01 (not verified)on Sun, 11/07/2021 - 15:22

Any has documentation for this project ???
Submitted byZulfqar ali (not verified)on Tue, 01/02/2024 - 18:31

I want to use this project.
Submitted bychikhale akshadab (not verified)on Tue, 03/19/2024 - 00:27

please give project on libray mangement system

Add new comment