How johnkurth/thelibrarianborrowingsystem works
This is a PHP library-borrowing management system with administrator, librarian, and student areas. The principal workflow starts with sign-in, then lets students browse and borrow books, track current loans, return books, and review history; staff manage the catalog and users and monitor circulation and overdue activity. The database connection is the shared internal layer. Several operational pages are listed in the tree but were not excerpted, so their interactions are shown only where dashboard links or source-index references support them; the README provides no additional capability documentation.
Main entry points: connect.php MySQL connection · student/index.php Student dashboard · user/index.php Librarian dashboard · view-book.php Student book browsing
Components 20
Identity and access
- Sign in
index.php - Registration
register.php - Password recovery
forgot.php - Account management
admin/add/add-user.php - MySQL connection
admin/connect.php
Catalog management
- Admin catalog CRUD
admin/add/add-book.php - Catalog views
admin/view/view-book.php - Category management
admin/add/add-categ.php
Circulation workflows
- Student dashboard
student/index.php - Student book browsing
student/view-book.php - Borrowing actions
student/borrow-books.php - Student loans
student/borrowed.php - Returns and history
student/return.php
Staff oversight
- Admin dashboard
admin/index.php - Librarian dashboard
user/index.php - Loan monitoring
admin/view/view-borrow-books.php - Overdue tracking
admin/overdue.php - Circulation reports
admin/view/view-history.php
Other components
- Library user
- Application database
Connections 25
- Library user → Sign in: signs in
- Library user → Registration: registers
- Library user → Password recovery: requests recovery
- Sign in → MySQL connection: queries accounts
index.php - Registration → MySQL connection: uses connection
register.php - Admin dashboard → MySQL connection: loads account
admin/index.php - Librarian dashboard → MySQL connection: uses connection
user/index.php - Student dashboard → MySQL connection: loads account
student/index.php - Admin catalog CRUD → MySQL connection: uses connection
admin/add/add-book.php - Catalog views → MySQL connection: uses connection
admin/view/view-book.php - Category management → MySQL connection: uses connection
admin/add/add-categ.php - Account management → MySQL connection: uses connection
admin/add/add-user.php - Student book browsing → MySQL connection: uses connection
student/view-book.php - Loan monitoring → MySQL connection: queries loans
admin/view/view-borrow-books.php - MySQL connection → Application database: connects to
admin/connect.php - Admin dashboard → Loan monitoring: links to
admin/index.php - Student dashboard → Student loans: links to
student/index.php - Student dashboard → Returns and history: links to history
student/index.php - Student dashboard → Student book browsing: offers browsing
- Student book browsing → Borrowing actions: leads to borrowing
- Borrowing actions → Student loans: records loan
- Student loans → Returns and history: supports return
- Librarian dashboard → Overdue tracking: offers tracking
- Librarian dashboard → Circulation reports: offers history
- Admin catalog CRUD → Catalog views: manages books