How prabhakar267/library-management-system works
This is a Laravel-based library management system. Students can register and search the public catalog; librarians authenticate to manage books and copies, review students, and issue or return books. Routes dispatch these workflows to controllers, which use Eloquent models for domain data and render Blade views. The graph preserves the documented feature areas, but edges to unsampled views and storage behavior are limited to relationships visible in the routes, excerpts, or README; MySQL is documented, while exact runtime database wiring is not shown.
Main entry points: BooksController.php Books controller · StudentController.php Student controller · routes.php HTTP routes · LogController.php Issue log controller
Components 20
Application entry and access
- HTTP routes
app/routes.php - Controller base
app/controllers/BaseController.php
Catalog and accounts
- Account controller
app/controllers/AccountController.php - Books controller
app/controllers/BooksController.php - Home controller
app/controllers/HomeController.php - Catalog and admin views
app/views
Student management
- Student controller
app/controllers/StudentController.php - Student views
app/views
Circulation
- Issue log controller
app/controllers/LogController.php - Circulation views
app/views
Domain data
- Librarian accounts
app/models/User.php - Book records
app/models/Books.php - Book copies
app/models/Issue.php - Book categories
app/models/Categories.php - Student records
app/models/Student.php - Student categories
app/models/StudentCategories.php - Branches
app/models/Branch.php - Circulation logs
app/models/Logs.php
Other components
- Library users
- MySQL database
Connections 36
- Library users → HTTP routes: requests pages
app/routes.php - HTTP routes → Account controller: dispatches account
app/routes.php - HTTP routes → Books controller: dispatches catalog
app/routes.php - HTTP routes → Student controller: dispatches student
app/routes.php - HTTP routes → Home controller: dispatches home
app/routes.php - HTTP routes → Issue log controller: dispatches circulation
app/routes.php - Account controller → Librarian accounts: creates accounts
app/controllers/AccountController.php - Books controller → Book records: queries books
app/controllers/BooksController.php - Books controller → Book copies: manages copies
app/controllers/BooksController.php - Books controller → Book categories: looks up categories
app/controllers/BooksController.php - Books controller → Circulation logs: checks issue logs
app/controllers/BooksController.php - Books controller → Student records: looks up borrowers
app/controllers/BooksController.php - Books controller → Branches: looks up branches
app/controllers/BooksController.php - Books controller → Student categories: looks up student categories
app/controllers/BooksController.php - Books controller → Home controller: loads view data
app/controllers/BooksController.php - Student controller → Student records: registers and reviews
app/controllers/StudentController.php - Student controller → Student categories: looks up categories
app/controllers/StudentController.php - Student controller → Branches: looks up branches
app/controllers/StudentController.php - Student controller → Circulation logs: reads issued books
app/controllers/StudentController.php - Student controller → Book copies: resolves copies
app/controllers/StudentController.php - Student controller → Book records: resolves book titles
app/controllers/StudentController.php - Student controller → Home controller: loads view data
app/controllers/StudentController.php - Issue log controller → Circulation logs: records circulation
app/controllers/LogController.php - Issue log controller → Book copies: updates availability
app/controllers/LogController.php - Issue log controller → Student records: updates borrower count
app/controllers/LogController.php - Issue log controller → Book records: resolves book titles
app/controllers/LogController.php - Books controller → Catalog and admin views: renders catalog panels
app/controllers/BooksController.php - Home controller → Catalog and admin views: renders home panel
app/controllers/HomeController.php - Account controller → Catalog and admin views: renders account forms
app/controllers/AccountController.php - Student controller → Student views: renders student panels
app/controllers/StudentController.php - Issue log controller → Circulation views: renders circulation panels
app/controllers/LogController.php - Book records → MySQL database: persists records
- Book copies → MySQL database: persists copies
- Student records → MySQL database: persists students
- Circulation logs → MySQL database: persists transactions
- Librarian accounts → MySQL database: persists accounts