{"id":30385230,"url":"https://github.com/darkhiem/library-management-system","last_synced_at":"2026-04-29T23:05:10.270Z","repository":{"id":286085712,"uuid":"960327258","full_name":"darkhiem/Library-Management-System","owner":"darkhiem","description":"A PHP-based Library Management System with role-based access, book checkout/return functionality, student management, and overdue fee tracking. ","archived":false,"fork":false,"pushed_at":"2025-07-05T16:38:56.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T18:10:42.075Z","etag":null,"topics":["css","dbms","dbms-project","html","javascript","library-management-system","mysql","php","sql"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkhiem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-04T08:42:04.000Z","updated_at":"2025-07-05T16:38:59.000Z","dependencies_parsed_at":"2025-07-05T18:05:49.857Z","dependency_job_id":"30f32af7-2a20-4045-b43a-8f9801143a48","html_url":"https://github.com/darkhiem/Library-Management-System","commit_stats":null,"previous_names":["darkhiem/library-management-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darkhiem/Library-Management-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkhiem%2FLibrary-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkhiem%2FLibrary-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkhiem%2FLibrary-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkhiem%2FLibrary-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkhiem","download_url":"https://codeload.github.com/darkhiem/Library-Management-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkhiem%2FLibrary-Management-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271415496,"owners_count":24755639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","dbms","dbms-project","html","javascript","library-management-system","mysql","php","sql"],"created_at":"2025-08-21T02:09:59.843Z","updated_at":"2026-04-29T23:05:10.196Z","avatar_url":"https://github.com/darkhiem.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 Library Management System\n\nA **comprehensive web-based Library Management System** built with **PHP** and **MySQL**. This system is designed to **streamline** the management of books, users, and borrowing transactions in any library environment.\n\n---\n\n## 🚀 Features\n\n### 🔐 User Authentication\n- Secure login system for **administrators and students**\n- **Role-based access control** (admin/student)\n- Efficient **session management**\n\n### 👨‍🎓 Student Features\n- 🧭 Browse available books\n- 📚 Borrow books with **automatic due date assignment**\n- 🕒 View personal **borrowing history**\n\n### 🛠️ Admin Features\n- 📖 Full book management: **add,view, delete**\n- 🧑‍💼 Student account management: **create, delete**\n- 📊 Monitor all **borrowed books**\n- ⏰ Track **overdue books** with **automatic fine calculation**\n- 🔄 Process **book returns**\n\n### 🔒 Security Measures\n- 🛡️ SQL injection protection\n- 🔄 Proper session handling\n- 🔓 Secure logout functionality\n\n---\n\n## 🧰 Tech Stack\n\n- **Frontend**: HTML, CSS, JavaScript  \n- **Backend**: PHP  \n- **Database**: MySQL  \n\n---\n\n## 🗃️ Database Schema\n\n```sql\nCREATE DATABASE library;\nUSE library;\nCREATE TABLE users (\n    id INT AUTO_INCREMENT PRIMARY KEY,\n    username VARCHAR(50) UNIQUE NOT NULL,\n    email VARCHAR(100) UNIQUE NOT NULL,\n    password VARCHAR(255) NOT NULL\n);\n\nCREATE TABLE books (\n    id INT AUTO_INCREMENT PRIMARY KEY,\n    title VARCHAR(100) NOT NULL,\n    author VARCHAR(100) NOT NULL,\n    category VARCHAR(50) NOT NULL,\n    available BOOLEAN DEFAULT TRUE\n);\n\nCREATE TABLE borrowed_books (\n    id INT AUTO_INCREMENT PRIMARY KEY,\n    book_id INT NOT NULL,\n    user_id INT NOT NULL,\n    borrow_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n    return_date DATE NULL,\n    status ENUM('borrowed', 'returned') DEFAULT 'borrowed',\n    FOREIGN KEY (book_id) REFERENCES books(id),\n    FOREIGN KEY (user_id) REFERENCES users(id)\n);\n```\n---\n\n## 🔧 Usage\n\n### 👑 Admin Account\nTo get started, create an admin account \n### 👤 Student Access\n- Students can log in using their credentials  \n- New student accounts are **created by administrators**\n\n### 🔄 System Workflow\n\n1. 🔐 Login with your role-specific credentials  \n2. 👨‍🎓 Students: browse and borrow available books  \n3. 👩‍💼 Admins: manage books, students, and monitor all borrowing activities  \n4. ⏳ The system automatically tracks **due dates** and **calculates fines** for overdue books  \n\n---\n\n## 🖼️ Screenshots\n\n\u003e ✨ Visual preview of the system in action:\n![Picture1](https://github.com/user-attachments/assets/5abae8ea-9a95-43e0-8f5d-c5d91a1e400f)\n![Picture2](https://github.com/user-attachments/assets/23a692e8-6169-410b-b5b1-2227f7c3615f)\n![Picture3](https://github.com/user-attachments/assets/e444e794-ee39-4dd8-b2ba-7c78d3a73725)\n![Picture5](https://github.com/user-attachments/assets/9b90c664-1955-4f6b-aaec-8c9ddd8e7478)\n![Picture4](https://github.com/user-attachments/assets/68e71b3a-f190-47e6-a246-4259e6d0d755)\n\n\n---\n\n## 🚧 Future Enhancements\n\nHere's what's planned for future versions:\n\n- 🤖 AI-based book **recommendation system**\n- 📷 Barcode scanning for faster book issuance\n- 📱 Mobile application development\n- 🔐 Enhanced security with **OAuth-based authentication**\n- 📧 Email notifications for **due date reminders**\n\n---\n\n## Contributers 💻\n\u003c!---\u003ca href=\"https://www.linkedin.com/in/apaarmat12/\"\u003e\n\u003cimg src=\"https://media.licdn.com/dms/image/v2/D4D03AQG8jfHC9w2drw/profile-displayphoto-shrink_400_400/B4DZYW0U75GwAg-/0/1744139538850?e=1750291200\u0026v=beta\u0026t=-ErFjedrIxt3CJlBTrq70gDnvR1TxKsyMWZtbEcm8ec\" width=\"200px;\"\nalt=\"Apaar's Profile\"/\u003e\n\u003c/a\u003e\n\u003cbr\u003e---\u003e\n\u003ca href=\"https://www.linkedin.com/in/apaarmat12/\"\u003eApaar Mathur\u003c/a\u003e :\n\u003ca href=\"https://github.com/A-TomMarvoloRiddle\"\u003eA-TomMarvoloRiddle\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkhiem%2Flibrary-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkhiem%2Flibrary-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkhiem%2Flibrary-management-system/lists"}