How rioulantoine/iwan-assistance-tickets works
IWAN Assistance Tickets is a PHP web application for company customers and administrators to create, track, and administer support tickets. Requests enter through the page router, which dispatches to controllers; controllers coordinate ticket or client models and render views. Ticket detail and follow-up workflows support replies, status changes, attachments, and email notifications, while the dashboard summarizes ticket activity. The source excerpts show representative routing, persistence, and notification links; some capabilities are documented by the source index rather than inspected in full.
Main entry points: index.php Page router · ModelBDD.php Database connection · ControllerDetails_ticket.php Ticket detail and replies · ControllerNouveau_ticket.php Ticket creation
Components 22
Web entry
- Page router
index.php - Authentication gate
auth.php
Ticket workflows
- Dashboard controller
src/Controller/ControllerAccueil.php - Dashboard statistics
src/Model/ModelAccueil.php - Dashboard view
src/View/Accueil.php - Ticket creation
src/Controller/ControllerNouveau_ticket.php - Ticket creation model
src/Model/ModelNouveau_ticket.php - Ticket detail and replies
src/Controller/ControllerDetails_ticket.php - Ticket detail model
src/Model/ModelDetails_ticket.php - Ticket detail view
src/View/Details_ticket.php - Ticket listings
src/Controller/ControllerLes_tickets.php - Ticket listing model
src/Model/ModelLes_tickets.php
Client administration
- Client administration
src/Controller/ControllerLes_Clients.php - Client data model
src/Model/ModelLes_Clients.php - Client listing view
src/View/Les_clients.php - Client creation model
src/Model/ModelNouveau_Client.php
Data and notifications
- Mail data model
src/Model/ModelMail.php - Email templates and delivery
src/Mail/Mail.php - Database connection
src/Model/ModelBDD.php
Other components
- Customer or admin
- MySQL database
- Email service
Connections 28
- Customer or admin → Page router: requests page
index.php - Page router → Authentication gate: loads auth
index.php - Page router → Dashboard controller: routes page
index.php - Page router → Ticket creation: routes page
index.php - Page router → Ticket detail and replies: routes page
index.php - Page router → Ticket listings: routes page
index.php - Page router → Client administration: routes page
index.php - Dashboard controller → Dashboard statistics: loads statistics
src/Controller/ControllerAccueil.php - Dashboard controller → Dashboard view: renders dashboard
src/Controller/ControllerAccueil.php - Dashboard statistics → Database connection: opens connection
src/Model/ModelAccueil.php - Ticket creation → Ticket creation model: creates ticket
src/Controller/ControllerNouveau_ticket.php - Ticket creation → Email templates and delivery: builds notifications
src/Controller/ControllerNouveau_ticket.php - Ticket creation → Mail data model: loads mail data
src/Controller/ControllerNouveau_ticket.php - Ticket detail and replies → Ticket detail model: reads and updates
src/Controller/ControllerDetails_ticket.php - Ticket detail and replies → Ticket detail view: renders details
src/Controller/ControllerDetails_ticket.php - Ticket detail and replies → Email templates and delivery: builds reply email
src/Controller/ControllerDetails_ticket.php - Ticket detail and replies → Mail data model: loads mail data
src/Controller/ControllerDetails_ticket.php - Ticket detail model → Database connection: opens connection
src/Model/ModelDetails_ticket.php - Ticket creation model → Database connection: opens connection
src/Model/ModelNouveau_ticket.php - Ticket listings → Ticket listing model: loads tickets
src/Controller/ControllerLes_tickets.php - Ticket listings → MySQL database: queries ticket data
- Client administration → Client data model: loads client data
src/Controller/ControllerLes_Clients.php - Client administration → Client listing view: renders listing
src/Controller/ControllerLes_Clients.php - Client data model → Database connection: opens connection
src/Model/ModelLes_Clients.php - Client creation model → Database connection: opens connection
src/Model/ModelNouveau_Client.php - Mail data model → Database connection: opens connection
src/Model/ModelMail.php - Email templates and delivery → Email service: sends mail
- Database connection → MySQL database: connects
src/Model/ModelBDD.php