How sevynix/calcgt works
This Laravel application combines tournament administration and hosting with public tournament registration and a broad collection of game-related calculators and tool pages. The main workflow is a host managing a tournament, preparing participants, generating and running bracket phases, and publishing results for public viewing. The graph emphasizes that workflow and the documented-in-tree tool and community branches. Evidence is limited to the supplied excerpts and SOURCE INDEX; unsampled integrations are not connected speculatively.
Main entry points: BracketService.php Bracket coordination · RegistrationController.php Registration · BracketController.php Host bracket controls · BracketManager.php Bracket progression
Components 28
Tournament workflow
- Public tournaments
app/Http/Controllers/Public/TournamentController.php - Registration
app/Http/Controllers/Public/RegistrationController.php - Tournament setup
app/Http/Controllers/Admin/TournamentController.php - Host access
app/Http/Middleware/HostMiddleware.php - Tournament records
app/Models/Tournament.php - Competition records
app/Models/Competition.php - Participant records
app/Models/Registration.php - Host bracket controls
app/Http/Controllers/Host/BracketController.php - Participant selection
app/Http/Controllers/Host/SpinWheelController.php - Public bracket
app/Http/Controllers/Public/BracketController.php
Bracket engine
- Bracket coordination
app/Services/BracketService.php - Bracket progression
app/Services/Bracket/BracketManager.php - Format options
app/Services/Bracket/FixedBracketOptionsResolver.php - Single elimination
app/Services/Bracket/SingleEliminationGenerator.php - Group stage
app/Services/Bracket/GroupStageGenerator.php - Upper-lower bracket
app/Services/Bracket/UpperLowerGenerator.php - Bracket records
app/Models/BracketNode.php - Competition phases
app/Models/CompetitionPhase.php - Spin wheel service
app/Services/SpinWheelService.php
Community and admin
- Admin dashboard
app/Http/Controllers/Admin/DashboardController.php - Feedback
app/Http/Controllers/FeedbackController.php - Community opinions
app/Http/Controllers/CommunityOpinionController.php - Community posts
app/Models/CommunityPost.php - Content administration
app/Http/Controllers/Admin
Game tools
- Game calculators and packs
resources/views/layouts
Other components
- Public visitor
- Tournament host
- Administrator
Connections 27
- Public visitor → Public tournaments: browses
- Public visitor → Registration: registers
- Registration → Participant records: creates registrations
app/Http/Controllers/Public/RegistrationController.php - Registration → Competition records: checks eligibility
app/Http/Controllers/Public/RegistrationController.php - Tournament setup → Tournament records: manages tournaments
app/Http/Controllers/Admin/TournamentController.php - Tournament setup → Host access: manages host keys
app/Http/Controllers/Admin/TournamentController.php - Tournament host → Host access: authenticates
- Host access → Host bracket controls: authorizes host routes
- Host bracket controls → Bracket coordination: reads bracket data
app/Http/Controllers/Host/BracketController.php - Host bracket controls → Spin wheel service: reads selection
app/Http/Controllers/Host/BracketController.php - Participant selection → Spin wheel service: manages draws
app/Http/Controllers/Host/SpinWheelController.php - Spin wheel service → Competition records: loads participants
app/Services/SpinWheelService.php - Bracket coordination → Bracket progression: delegates progression
app/Services/BracketService.php - Bracket coordination → Format options: resolves formats
app/Services/BracketService.php - Bracket coordination → Single elimination: generates format
app/Services/BracketService.php - Bracket coordination → Group stage: generates format
app/Services/BracketService.php - Bracket coordination → Upper-lower bracket: generates format
app/Services/BracketService.php - Bracket progression → Bracket records: updates matches
app/Services/Bracket/BracketManager.php - Bracket progression → Competition phases: updates phase status
app/Services/Bracket/BracketManager.php - Bracket coordination → Bracket records: creates bracket data
app/Services/BracketService.php - Bracket coordination → Competition phases: creates phases
app/Services/BracketService.php - Public bracket → Bracket coordination: requests bracket data
app/Http/Controllers/Public/BracketController.php - Administrator → Admin dashboard: views dashboard
- Admin dashboard → Feedback: counts feedback
app/Http/Controllers/Admin/DashboardController.php - Feedback → Community posts: uses feedback model
- Community opinions → Community posts: loads related posts
app/Http/Controllers/CommunityOpinionController.php - Administrator → Content administration: manages content