How hicool-ml/workorder-system-public works
This is a Laravel work-order management platform for service desks, facilities, and equipment operations. Its main workflow is self-service fault reporting, dispatch or engineer pickup, collaborative repair, resolution and completion, followed by satisfaction follow-up. Separate branches manage locations and reference data, reporting, identity providers, notifications, signatures, and backups. The graph combines README-documented capabilities with source-index references and excerpts; unsampled controllers and routes are represented only where the README establishes their role, so some internal wiring is omitted.
Main entry points: WorkorderController.php Work-order operations · Workorder.php Work-order domain · OidcAuthController.php Authentication · NotificationDispatcher.php Notification dispatch
Components 29
Work-order lifecycle
- Work-order screens
resources/views/workorders/create.blade.php - Self-service report
app/Http/Controllers/ReportController.php - Work-order operations
app/Http/Controllers/WorkorderController.php - Report handling
app/Http/Controllers/Traits/HandlesReport.php - Work-order domain
app/Models/Workorder.php - Work-order records
app/Models/Workorder.php - Collaboration
app/Models/WorkorderCollaboration.php - Signed work records
app/Http/Controllers/WorkorderSignatureController.php - Attachment access
app/Http/Controllers/AttachmentController.php
Operational administration
- Reference-data management
app/Http/Controllers/LocationController.php - Project locations
app/Models/Location.php - Work-order categories
app/Models/WorkorderCategorySimplified.php - Work-order types
app/Models/WorkorderType.php - Departments
app/Models/Department.php - User administration
app/Http/Controllers/UserManagementController.php
Identity and platform
- Users and roles
app/Models/User.php - Authentication
app/Http/Controllers/Auth/OidcAuthController.php - System settings
app/Models/SystemSetting.php - Backup and restore
app/Http/Controllers/BackupController.php
Reports and communications
- Statistics and reports
app/Http/Controllers/ReportController.php - In-app notifications
app/Models/Notification.php - Notification dispatch
app/Services/Notification/NotificationDispatcher.php - IM notification channels
app/Services/Notification/WeComWebhookService.php - SMS delivery
app/Services/Sms/SmsManager.php - Satisfaction follow-up
app/Models/WorkorderVisit.php
Other components
- Requester / engineer
- Relational database
- CAS / OIDC / OAuth
- IM and SMS providers
Connections 29
- Requester / engineer → Self-service report: reports fault
README.md - Self-service report → Work-order domain: creates ticket
README.md - Requester / engineer → Work-order screens: handles ticket
README.md - Work-order screens → Work-order operations: submits actions
README.md - Work-order operations → Report handling: delegates report
app/Http/Controllers/WorkorderController.php - Work-order operations → Work-order domain: updates lifecycle
app/Http/Controllers/WorkorderController.php - Work-order domain → Work-order records: persists state
README.md - Work-order operations → Collaboration: invites collaborators
README.md - Work-order operations → Signed work records: starts signing
README.md - Work-order operations → Attachment access: manages files
README.md - Work-order operations → Project locations: loads location options
app/Http/Controllers/WorkorderController.php - Work-order operations → Work-order categories: loads categories
app/Http/Controllers/WorkorderController.php - Work-order operations → Work-order types: uses work-order types
app/Http/Controllers/WorkorderController.php - Work-order operations → Departments: loads departments
app/Http/Controllers/WorkorderController.php - Reference-data management → Project locations: maintains addresses
README.md - User administration → Users and roles: manages accounts
README.md - Authentication → Users and roles: authenticates users
app/Http/Controllers/Auth/OidcAuthController.php - Authentication → System settings: reads provider config
app/Http/Controllers/Auth/OidcAuthController.php - Authentication → CAS / OIDC / OAuth: exchanges identity
README.md - Statistics and reports → Work-order records: aggregates tickets
app/Http/Controllers/ReportController.php - Work-order domain → In-app notifications: creates notices
app/Models/Workorder.php - Work-order domain → Notification dispatch: dispatches events
app/Models/Workorder.php - Notification dispatch → IM notification channels: sends IM
README.md - Notification dispatch → SMS delivery: sends SMS
- IM notification channels → IM and SMS providers: delivers messages
README.md - SMS delivery → IM and SMS providers: sends texts
README.md - Work-order domain → Satisfaction follow-up: records follow-up
README.md - Backup and restore → Relational database: backs up data
README.md - Work-order records → Relational database: stores records