How xfcvw/inventoryflow works
InventoryFlow is a multi-tenant inventory and sales SaaS. A user enters through the browser, authenticates and selects a workspace, then uses API-backed product, stock and order workflows; processing or cancelling an order adjusts warehouse stock. Separate branches cover team invitations, plans and limits, reporting, dashboard, notifications and audit. The graph preserves documented capabilities whose controller internals were not sampled; those links are shown only where the README or SOURCE INDEX supports them.
Main entry points: api.php API routes · StockService.php Stock operations · PlanService.php Plans and limits · ProductController.php Product catalog
Components 29
Entry and identity
- Web routes
routes/web.php - Authentication
app/Http/Controllers/AuthController.php - Registration
app/Http/Controllers/RegistrationController.php - API routes
routes/api.php
Workspace and SaaS
- Workspace management
app/Http/Controllers/Api/WorkspaceController.php - Team and invitations
app/Http/Controllers/Api/InvitationController.php - Plans and limits
app/Services/PlanService.php
Inventory and sales
- Product catalog
app/Http/Controllers/Api/ProductController.php - Warehouse management
app/Http/Controllers/Api/WarehouseController.php - Stock operations
app/Services/StockService.php - Order processing
app/Http/Controllers/Api/OrderController.php
Insights and governance
- Dashboard
app/Http/Controllers/Api/DashboardController.php - Sales and inventory reports
app/Http/Controllers/Api/ReportController.php - Audit logging
app/Services/AuditService.php - Low-stock notices
app/Notifications/LowStockNotification.php
Domain persistence
- User and membership
app/Models/User.php - Workspace record
app/Models/Workspace.php - Product record
app/Models/Product.php - Warehouse record
app/Models/Warehouse.php - Warehouse stock
app/Models/ProductWarehouseStock.php - Inventory movement
app/Models/InventoryMovement.php - Order and items
app/Models/Order.php - Category
app/Models/Category.php - Supplier
app/Models/Supplier.php - Customer
app/Models/Customer.php - Invitation record
app/Models/Invitation.php - Subscription record
app/Models/Subscription.php
Other components
- Browser user
- PostgreSQL
Connections 42
- Browser user → Web routes: opens
README.md - Web routes → Authentication: routes to
README.md - Browser user → API routes: uses
README.md - API routes → Workspace management: dispatches
routes/api.php - API routes → Team and invitations: dispatches
routes/api.php - API routes → Product catalog: dispatches
routes/api.php - API routes → Warehouse management: dispatches
routes/api.php - API routes → Order processing: dispatches
routes/api.php - API routes → Dashboard: dispatches
routes/api.php - API routes → Sales and inventory reports: dispatches
routes/api.php - API routes → Audit logging: dispatches
routes/api.php - Registration → User and membership: creates
app/Http/Controllers/RegistrationController.php - Registration → Workspace record: creates
app/Http/Controllers/RegistrationController.php - Registration → Subscription record: creates
app/Http/Controllers/RegistrationController.php - Workspace management → Plans and limits: checks limits
app/Http/Controllers/Api/WorkspaceController.php - Team and invitations → Plans and limits: checks limits
app/Http/Controllers/Api/InvitationController.php - Team and invitations → Invitation record: uses
app/Http/Controllers/Api/InvitationController.php - Product catalog → Plans and limits: checks limits
app/Http/Controllers/Api/ProductController.php - Product catalog → Product record: reads and writes
app/Http/Controllers/Api/ProductController.php - Product catalog → Audit logging: records actions
app/Http/Controllers/Api/ProductController.php - Warehouse management → Plans and limits: checks limits
app/Http/Controllers/Api/WarehouseController.php - Order processing → Order and items: creates and updates
app/Http/Controllers/Api/OrderController.php - Order processing → Stock operations: moves stock
app/Http/Controllers/Api/OrderController.php - Order processing → Audit logging: records actions
app/Http/Controllers/Api/OrderController.php - Stock operations → Warehouse stock: updates quantities
app/Services/StockService.php - Stock operations → Inventory movement: creates movements
app/Services/StockService.php - Stock operations → Product record: updates total stock
app/Services/StockService.php - Stock operations → Low-stock notices: notifies on low stock
app/Services/StockService.php - Audit logging → Workspace record: writes audit log
app/Services/AuditService.php - Plans and limits → Workspace record: reads plan
app/Services/PlanService.php - Workspace record → PostgreSQL: persists
README.md - User and membership → PostgreSQL: persists
README.md - Product record → PostgreSQL: persists
README.md - Warehouse record → PostgreSQL: persists
README.md - Warehouse stock → PostgreSQL: persists
README.md - Inventory movement → PostgreSQL: persists
README.md - Order and items → PostgreSQL: persists
README.md - Category → PostgreSQL: persists
README.md - Supplier → PostgreSQL: persists
README.md - Customer → PostgreSQL: persists
README.md - Invitation record → PostgreSQL: persists
README.md - Subscription record → PostgreSQL: persists
README.md