How glitter1105/queue works
This is a Webman-based queue ticketing and service-window system. Customers obtain and check tickets; staff call, complete, pass, or cancel them; window configuration and a public display support the service flow. Queue state is modeled separately from window state, while GatewayWorker delivers live updates to display and staff clients. The README documents the main pages and MySQL/Redis stack; sampled controller excerpts show queue operations and Gateway sends. Frontend source is absent from the supplied tree, so UI internals and storage wiring are not mapped.
Main entry points: route.php HTTP routes · QueueController.php Ticket and status · WindowController.php Window management · QueueNumber.php Queue records
Components 12
Queue operations
- Ticket and status
app/controller/QueueController.php - Queue records
app/model/QueueNumber.php
Service windows
- Window management
app/controller/WindowController.php - Window records
app/model/Window.php
Live updates
- WebSocket binding
plugin/webman/gateway/Events.php - GatewayWorker
HTTP handling
- HTTP routes
config/route.php - Request handling
support/Request.php - Response handling
support/Response.php
Other components
- Customer
- Staff
- Public viewer
Connections 16
- Customer → HTTP routes: requests tickets
README.md - Staff → HTTP routes: manages queue
README.md - Public viewer → HTTP routes: opens display
README.md - HTTP routes → Ticket and status: routes requests
config/route.php - HTTP routes → Window management: routes requests
config/route.php - Ticket and status → Queue records: queries and updates
app/controller/QueueController.php - Window management → Window records: manages windows
app/controller/WindowController.php - Window management → Queue records: checks active tickets
app/controller/WindowController.php - Ticket and status → Window records: validates window
app/controller/QueueController.php - Ticket and status → GatewayWorker: sends updates
app/controller/QueueController.php - WebSocket binding → GatewayWorker: binds client IDs
plugin/webman/gateway/Events.php - GatewayWorker → Public viewer: pushes live status
README.md - GatewayWorker → Staff: pushes live status
README.md - HTTP routes → Request handling: uses request type
- Ticket and status → Response handling: returns responses
app/controller/QueueController.php - Window management → Response handling: returns responses
app/controller/WindowController.php