How iantolentino/wts works
Whittles is a PHP/MySQL application for ticketing and staff history. Users sign in, then work with tickets or staff records; the product also provides ticket attachments, department views, reports/exports, account approval, and external ticket feeds. The sampled ticket-list page loads local tickets and combines them with external tickets before filtering and display. The graph includes documented capabilities whose page implementations were not sampled; those connections are marked dashed where their runtime wiring is unverified.
Main entry points: bootstrap.php Request bootstrap · database.php Database connection · index.php Ticket list · staff.php Staff directory
Components 20
Web entry
- Sign-in and registration
frontend/login.php - Ticket list
frontend/index.php - Dashboard
frontend/dashboard.php - Staff directory
frontend/staff.php
Access and core
- Request bootstrap
backend/app/bootstrap.php - Authentication and permissions
backend/app/auth.php - Request security
backend/app/security.php - Database connection
backend/app/database.php - Shared page layout
backend/app/layout.php - Account management
frontend/users.php - Relational schema
database/schema.sql
Ticket operations
- Ticket rules
backend/app/tickets.php - Ticket attachments
backend/app/attachments.php - Mixed ticket loading
backend/app/mixed-tickets.php
Staff and reporting
- Staff history
frontend/history.php - Departments and teams
frontend/departments.php - Reports and exports
frontend/reports.php
External sources
- External ticket feed
backend/app/feed.php - External ticket service
Other components
- User
Connections 25
- User → Sign-in and registration: signs in
README.md - User → Ticket list: views tickets
README.md - User → Staff directory: manages staff
README.md - Ticket list → Request bootstrap: loads request setup
frontend/index.php - Ticket list → Mixed ticket loading: loads ticket rows
frontend/index.php - Request bootstrap → Database connection: loads
backend/app/bootstrap.php - Request bootstrap → Request security: loads
backend/app/bootstrap.php - Request bootstrap → Authentication and permissions: loads
backend/app/bootstrap.php - Request bootstrap → Ticket rules: loads
backend/app/bootstrap.php - Request bootstrap → Ticket attachments: loads
backend/app/bootstrap.php - Request bootstrap → Shared page layout: loads
backend/app/bootstrap.php - Mixed ticket loading → External ticket feed: fetches external tickets
backend/app/mixed-tickets.php - Mixed ticket loading → Ticket rules: filters local tickets
backend/app/mixed-tickets.php - External ticket feed → External ticket service: requests ticket data
backend/app/feed.php - Dashboard → Mixed ticket loading: uses shared ticket totals
README.md - Ticket list → Ticket attachments: supports downloads
README.md - Staff directory → Staff history: views history
README.md - Staff directory → Departments and teams: browses departments
README.md - Reports and exports → Staff history: exports history
README.md - Account management → User: approves accounts
README.md - Authentication and permissions → Database connection: checks account access
README.md - Ticket rules → Database connection: reads and writes
README.md - Ticket attachments → Database connection: stores file bytes
README.md - Staff directory → Database connection: stores staff records
README.md - Reports and exports → Database connection: queries report data
README.md