Skip to main content

Library Management System with Barcode using PHP with Source Code


Hi guys! I have here a Library Management System with Barcode that was built for Valladolid National High School. This system is simple yet a useful system that I create using PHP/MySQL that uses barcodes for the borrowing books. This system I created may help you with your future projects. Also, for the beginners who really want to learn basic coding in PHP/MySQL. It is a user-friendly kind of this system.

The system contains the ff:

  • Member’s record management
  • Books record management
  • Admin record management
  • Filtering book record
  • Searching of the book in the table
  • Borrowing and Returning books function
  • Dynamic settings (Number of allowed books to borrow, Penalty, and Allowable days)
  • Print Members Barcode
  • Print List of Members
  • Print Books Barcode
  • Print List of Books
  • Borrowed Books Monitoring
  • Returned Books Monitoring
  • Penalty Information
  • Search report using date from and date to
  • Generate Reports

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file.


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded zip 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 the browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "lms".
  6. Import the SQL file provided. The SQL file is known as "lms.sql" inside the "db" folder.
  7. Browse the Web Application in a browser. i.e.http://localhost/library_system/admin

Admin Access

Username: admin
Password: admin


I hope this simple system will help you with your projects and also hoping that will learn something with this project.

Thank you.


Submitted byAmzad Hossain (not verified)on Fri, 12/09/2016 - 11:39

Dear Shuhaib Memon , Assalamualaikum, would you please send me the updated code at [email protected] thanks in advance.
Submitted byShuhaib (not verified)on Sun, 12/11/2016 - 05:11

In reply to by Amzad Hossain (not verified)

W.Sallam, Thanks for the thanks in advance, I have sent to you on your email, kindly check your email box. Thanks.
Submitted byMadz Mokson Thu, 11/29/2018 - 23:32

In reply to by Shuhaib (not verified)

Can you kindly send the updated please
Submitted byShuhaib (not verified)on Sun, 12/11/2016 - 05:18

In reply to by Amzad Hossain (not verified)

Email Fails. Received Email Failure Notice, Kindly check and give correct email id. Thanks.
Submitted byAl Christian (not verified)on Thu, 01/12/2017 - 08:47

Password please!!! I cant open the zip file of this system so that i can download
Submitted byinfin1ty (not verified)on Sun, 06/04/2017 - 19:40

Hello and thank you for this . Is it possible to send to my email the updated code of this? [email protected] Thank you in advance and keep up the good work
Submitted bymohd hassan (not verified)on Thu, 06/08/2017 - 13:43

Is There any updated code on this? borrowed.php doesn't seem to be working.please send me [email protected]
Submitted byChainarong (not verified)on Sat, 06/10/2017 - 04:01

could you please sent to my gmail the full update coding of this program. I really need it please help me. I have a problem on the borrowed.php [email protected]
Submitted bydennisbautista… (not verified)on Fri, 07/14/2017 - 16:23

kindly sent to me the borrowed.php. I need it on my project. thank you. God bless.
Submitted byHarazeem (not verified)on Wed, 08/23/2017 - 02:57

Please can u send me the updated version of this software on this mail [email protected] thanks in advance
Submitted byblackman232 (not verified)on Mon, 10/16/2017 - 17:50

sir i just like your code can you please help me with school management system i need for my project my email is [email protected]
Submitted byGürkan Lokman (not verified)on Sat, 11/18/2017 - 01:17

Selamın Aleyküm.. updated file in download link ? or you are sending to mail adress ? if yes , my email: [email protected] Thanks for sharing...
Submitted byAlhad (not verified)on Sat, 01/27/2018 - 04:05

Hello, I would like to use this software for a library our social group have started for handicapped students. Is it really capable of scanning barcodes for books and issuing management? Can we define our barcodes? Please send me the updated code at [email protected]
Submitted byABUBACKER (not verified)on Thu, 02/08/2018 - 03:49

Hi bro, I would like to get latest copy of the script from you as email or via link, also, how to install it? no setup page or instruction regarding this
Submitted byDan Farin (not verified)on Tue, 04/10/2018 - 13:20

Sir can u send the updated source code to my email [email protected]
Submitted byRedy (not verified)on Wed, 06/06/2018 - 08:42

Sir please send me the updated source code i want to learn more about php
Submitted bythank you (not verified)on Tue, 06/26/2018 - 22:26

my email kindly Send Me the Full Source code Tnx and More Powqer... [email protected]
Submitted bySarah Mercado (not verified)on Tue, 08/14/2018 - 17:54

Can you teach me or can i have a copy of your updated source code? Thank you very much [email protected]
Submitted byProfit (not verified)on Wed, 08/15/2018 - 02:34

Dear Shuhaib Memon , Assalamualaikum, would you please send me the updated code at [email protected] thanks in advance.
Submitted byA_Square (not verified)on Tue, 09/25/2018 - 04:11

Please can you kindly help with the update on the source code especially, "borrowed.php and borrow.php"
My email = [email protected]


Submitted bySulaimanu94 (not verified)on Tue, 10/16/2018 - 18:20

I have the correct codes that everything is working. Whatsapp me on +2348036296677 if you want it.

Add new comment