How jimmyht98/is-115-ticketsystem works
Saklig is a local PHP/MySQL customer-support ticket system. Customers register or sign in, submit a ticket with an optional attachment, then follow replies and status in their ticket list; support staff take unassigned tickets, reply, and update status. The graph preserves account recovery, search/filter/sort, last-visited shortcuts, notifications, and attachment access. Several page-to-service relationships are documented as product behavior but their handler code was not excerpted, so those links are dashed; other links are limited to shown calls or indexed references.
Main entry points: ticket-service.php Ticket service · mine-saker.php My tickets · admin.php Admin overview · user-repository.php User repository
Components 29
Web workflows
- Submit ticket
index.php - My tickets
mine-saker.php - Admin overview
admin.php - Ticket details
ticket-detaljer.php - Attachment access
vedlegg.php
Accounts and access
- Registration
registration/register.php - Sign in
login.php - Password recovery
registration/forgot-password.php - Password reset
registration/reset-password.php - Authentication
src/auth.php - User repository
src/user-repository.php
Ticket domain
- Ticket service
src/ticket-service.php - Ticket validation
src/ticket-validator.php - List search and sort
src/ticket-list.php - Last visited ticket
src/last-visited-ticket.php - Attachment handling
src/vedlegg.php
Storage and messaging
- Ticket repository
src/ticket-repository.php - MySQL database
database/db_connection.php - Ticket notifications
src/ticket-notifications.php - Email sender
src/mailer.php
Shared web layer
- Request bootstrap
includes/bootstrap.php - Security utilities
src/sikkerhet.php - Ticket filters
includes/ticket-filters.php - Last-ticket shortcut
includes/last-visited-ticket.php - Authentication panel
includes/auth-panel.php - Site header
includes/header.php
Other components
- Customer
- Support staff
- Mailpit inbox
Connections 41
- Customer → Registration: creates account
README.md - Registration → User repository: registers account
registration/register.php - User repository → MySQL database: reads and writes
src/user-repository.php - Customer → Sign in: signs in
README.md - Sign in → Authentication: authenticates
README.md - Authentication → User repository: looks up account
src/auth.php - Customer → Password recovery: requests reset
README.md - Password recovery → User repository: requests reset link
- User repository → Email sender: sends reset email
src/user-repository.php - Customer → Submit ticket: submits ticket
README.md - Submit ticket → Request bootstrap: loads
index.php - Submit ticket → Ticket service: creates ticket
- Ticket service → Ticket validation: validates fields
src/ticket-service.php - Ticket service → Attachment handling: reads attachment
src/ticket-service.php - Ticket service → Ticket repository: creates and saves
src/ticket-service.php - Ticket repository → MySQL database: reads and writes
src/ticket-repository.php - Ticket service → Ticket notifications: dispatches alerts
src/ticket-service.php - Ticket notifications → Email sender: sends messages
src/ticket-notifications.php - Email sender → Mailpit inbox: delivers email
README.md - Customer → My tickets: views own tickets
README.md - Support staff → Admin overview: views all tickets
README.md - My tickets → Ticket service: loads tickets
- Admin overview → Ticket service: loads tickets
- My tickets → List search and sort: filters and sorts
README.md - Admin overview → List search and sort: filters and sorts
README.md - My tickets → Ticket filters: renders filters
mine-saker.php - Admin overview → Ticket filters: renders filters
admin.php - My tickets → Last visited ticket: shows shortcut
README.md - Admin overview → Last visited ticket: shows shortcut
README.md - My tickets → Last-ticket shortcut: renders shortcut
mine-saker.php - Admin overview → Last-ticket shortcut: renders shortcut
admin.php - Customer → Ticket details: reads replies
README.md - Support staff → Ticket details: takes and updates
README.md - Ticket details → Ticket service: reads and updates
- Customer → Attachment access: uploads or downloads
README.md - Support staff → Attachment access: downloads attachments
README.md - Attachment access → Attachment handling: handles file access
- Request bootstrap → Authentication: initializes
includes/bootstrap.php - Request bootstrap → Security utilities: starts session
includes/bootstrap.php - Registration → Authentication panel: renders
registration/register.php - Submit ticket → Site header: renders
index.php