How kbram/planogram works
This is a Laravel inventory application with user authentication and role-based administration. The principal workflow is an authenticated user opening a department dashboard, where the controller gathers department, aisle, bay, product, and stock data and renders the home view; stock and user-management routes provide related operations. The graph preserves the documented seeded roles and permissions, but the README is generic Laravel documentation and sampled routing does not expose every route. Some inventory controllers and views are present in the tree but were not sampled, so their interactions are not inferred.
Main entry points: Stock.php Stock records · HomeController.php Department dashboard · Aisle.php Aisles · web.php Web routes
Components 19
Request and dashboard
- Web routes
routes/web.php - Department dashboard
app/Http/Controllers/HomeController.php - Stock operations
app/Http/Controllers/StockController.php - Dashboard view
resources/views/home.blade.php
Inventory domain
- Departments
app/Models/Department.php - Aisles
app/Models/Aisle.php - Bays
app/Models/Bay.php - Products
app/Models/Product.php - Stock records
app/Models/Stock.php - Department operations
app/Http/Controllers/DepartmentController.php - Product operations
app/Http/Controllers/ProductController.php
Identity and administration
- Login
app/Http/Controllers/Auth/LoginController.php - Registration
app/Http/Controllers/Auth/RegisterController.php - Email verification
app/Http/Controllers/Auth/VerificationController.php - User administration
app/Http/Controllers/Admin/UserController.php - Users and roles
app/Models/User.php - Role records
app/Models/Role.php
Persistence
- Application database
config/database.php
Other components
- Web user
Connections 23
- Web user → Web routes: requests pages
routes/web.php - Web routes → Department dashboard: routes to
routes/web.php - Web routes → Stock operations: routes to
routes/web.php - Web routes → User administration: routes to
routes/web.php - Department dashboard → Departments: loads department
app/Http/Controllers/HomeController.php - Department dashboard → Aisles: loads aisles
app/Http/Controllers/HomeController.php - Department dashboard → Bays: loads bays
app/Http/Controllers/HomeController.php - Department dashboard → Products: loads products
app/Http/Controllers/HomeController.php - Department dashboard → Stock records: loads stock
app/Http/Controllers/HomeController.php - Department dashboard → Dashboard view: renders
app/Http/Controllers/HomeController.php - Stock operations → Stock records: uses records
app/Http/Controllers/StockController.php - User administration → Users and roles: loads users
app/Http/Controllers/Admin/UserController.php - Users and roles → Role records: relates roles
app/Models/User.php - Aisles → Bays: has many
app/Models/Aisle.php - Aisles → Departments: belongs to
app/Models/Aisle.php - Bays → Stock records: has many
app/Models/Bay.php - Stock records → Products: belongs to
app/Models/Stock.php - Stock records → Bays: belongs to
app/Models/Stock.php - Stock records → Aisles: belongs to
app/Models/Stock.php - Stock records → Departments: belongs to
app/Models/Stock.php - Departments → Aisles: has many
app/Models/Department.php - Application database → Stock records: stores records
- Application database → Users and roles: stores records