# iosyginah-coder/gestiontransport architecture

> Architecture diagram of the GitHub repository iosyginah-coder/gestiontransport, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iosyginah-coder/gestiontransport
- Repository: https://github.com/iosyginah-coder/gestiontransport

## Overview

This is a Laravel web application for managing transport reservations and their related routes, vehicles, chauffeurs, and passengers. Users enter through web routes, authenticate or register, then use reservation and resource-management screens; reservations associate a trajet, optional vehicle and chauffeur, and selected passengers. The graph includes the documented-by-code auth and CRUD domains plus the HTTP boot/routing layer. Some controller relationships are supported only by the SOURCE INDEX; unsampled details and database wiring are not inferred.

Main entry points: [`routes/web.php`](https://github.com/iosyginah-coder/gestiontransport/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/ReservationController.php`](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/ReservationController.php) (Reservation management), [`app/Models/Reservation.php`](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Reservation.php) (Reservations), [`routes/auth.php`](https://github.com/iosyginah-coder/gestiontransport/blob/main/routes/auth.php) (Auth routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["HTTP entry"]
  node_front["HTTP entrypoint<br/>[index.php]"]
  node_bootstrap["Application bootstrap<br/>[app.php]"]
  node_kernel["HTTP middleware<br/>[Kernel.php]"]
  node_routing["Route registration"]
  node_web_routes["Web routes<br/>[web.php]"]
end

subgraph group_identity["Identity"]
  node_auth_routes["Auth routes<br/>[auth.php]"]
  node_auth["Authentication"]
  node_registration["Registration"]
  node_profile["Profile management"]
end

subgraph group_operations["Transport operations"]
  node_dashboard["Dashboard"]
  node_reservations["Reservation management"]
  node_trajets["Route management"]
  node_vehicles["Vehicle management"]
  node_chauffeurs["Chauffeur management"]
  node_passagers["Passenger management"]
end

subgraph group_domain["Domain data"]
  node_user_data[("User account<br/>[User.php]")]
  node_reservation_data[("Reservations<br/>[Reservation.php]")]
  node_trajet_data[("Trajets<br/>[Trajet.php]")]
  node_vehicle_data[("Vehicles<br/>[Vehicule.php]")]
  node_chauffeur_data[("Chauffeurs<br/>[Chauffeur.php]")]
  node_passager_data[("Passengers<br/>[Passager.php]")]
end

node_visitor(("User"))

node_visitor -->|"sends requests"| node_front
node_front -->|"loads app"| node_bootstrap
node_bootstrap -->|"binds kernel"| node_kernel
node_kernel -.->|"handles requests"| node_routing
node_routing -->|"loads routes"| node_web_routes
node_web_routes -->|"routes requests"| node_reservations
node_web_routes -->|"routes requests"| node_trajets
node_web_routes -->|"routes requests"| node_vehicles
node_web_routes -->|"routes requests"| node_chauffeurs
node_web_routes -->|"routes requests"| node_passagers
node_web_routes -->|"routes requests"| node_profile
node_web_routes -.->|"routes requests"| node_dashboard
node_web_routes -->|"includes routes"| node_auth_routes
node_auth_routes -->|"routes requests"| node_auth
node_auth_routes -->|"routes requests"| node_registration
node_registration -->|"creates account"| node_user_data
node_reservations -->|"reads and writes"| node_reservation_data
node_reservations -->|"loads options"| node_trajet_data
node_reservations -->|"loads options"| node_vehicle_data
node_reservations -->|"loads options"| node_chauffeur_data
node_reservations -->|"loads options"| node_passager_data
node_trajets -->|"manages data"| node_trajet_data
node_vehicles -->|"manages data"| node_vehicle_data
node_chauffeurs -->|"manages data"| node_chauffeur_data
node_reservation_data -->|"belongs to"| node_trajet_data
node_reservation_data -->|"belongs to"| node_vehicle_data
node_reservation_data -->|"belongs to"| node_chauffeur_data
node_reservation_data -->|"links passengers"| node_passager_data

click node_front "https://github.com/iosyginah-coder/gestiontransport/blob/main/public/index.php"
click node_bootstrap "https://github.com/iosyginah-coder/gestiontransport/blob/main/bootstrap/app.php"
click node_kernel "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Kernel.php"
click node_routing "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Providers/RouteServiceProvider.php"
click node_web_routes "https://github.com/iosyginah-coder/gestiontransport/blob/main/routes/web.php"
click node_auth_routes "https://github.com/iosyginah-coder/gestiontransport/blob/main/routes/auth.php"
click node_auth "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php"
click node_registration "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php"
click node_user_data "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/User.php"
click node_dashboard "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/DashboardController.php"
click node_profile "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/ProfileController.php"
click node_reservations "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/ReservationController.php"
click node_trajets "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/TrajetController.php"
click node_vehicles "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/VehiculeController.php"
click node_chauffeurs "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/ChauffeurController.php"
click node_passagers "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/PassagerController.php"
click node_reservation_data "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Reservation.php"
click node_trajet_data "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Trajet.php"
click node_vehicle_data "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Vehicule.php"
click node_chauffeur_data "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Chauffeur.php"
click node_passager_data "https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Passager.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_front,node_bootstrap,node_kernel,node_routing,node_web_routes,node_visitor toneBlue
class node_auth_routes,node_auth,node_registration,node_profile toneAmber
class node_dashboard,node_reservations,node_trajets,node_vehicles,node_chauffeurs,node_passagers toneMint
class node_user_data,node_reservation_data,node_trajet_data,node_vehicle_data,node_chauffeur_data,node_passager_data toneRose
```

## Components

### HTTP entry

- [HTTP entrypoint](https://github.com/iosyginah-coder/gestiontransport/blob/main/public/index.php): `public/index.php`
- [Application bootstrap](https://github.com/iosyginah-coder/gestiontransport/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [HTTP middleware](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Kernel.php): `app/Http/Kernel.php`
- [Route registration](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Providers/RouteServiceProvider.php): `app/Providers/RouteServiceProvider.php`
- [Web routes](https://github.com/iosyginah-coder/gestiontransport/blob/main/routes/web.php): `routes/web.php`

### Identity

- [Auth routes](https://github.com/iosyginah-coder/gestiontransport/blob/main/routes/auth.php): `routes/auth.php`
- [Authentication](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php): `app/Http/Controllers/Auth/AuthenticatedSessionController.php`
- [Registration](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php): `app/Http/Controllers/Auth/RegisteredUserController.php`
- [Profile management](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/ProfileController.php): `app/Http/Controllers/ProfileController.php`

### Transport operations

- [Dashboard](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/DashboardController.php): `app/Http/Controllers/DashboardController.php`
- [Reservation management](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/ReservationController.php): `app/Http/Controllers/ReservationController.php`
- [Route management](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/TrajetController.php): `app/Http/Controllers/TrajetController.php`
- [Vehicle management](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/VehiculeController.php): `app/Http/Controllers/VehiculeController.php`
- [Chauffeur management](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/ChauffeurController.php): `app/Http/Controllers/ChauffeurController.php`
- [Passenger management](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Http/Controllers/PassagerController.php): `app/Http/Controllers/PassagerController.php`

### Domain data

- [User account](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/User.php): `app/Models/User.php`
- [Reservations](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Reservation.php): `app/Models/Reservation.php`
- [Trajets](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Trajet.php): `app/Models/Trajet.php`
- [Vehicles](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Vehicule.php): `app/Models/Vehicule.php`
- [Chauffeurs](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Chauffeur.php): `app/Models/Chauffeur.php`
- [Passengers](https://github.com/iosyginah-coder/gestiontransport/blob/main/app/Models/Passager.php): `app/Models/Passager.php`

### Other components

- **User**

## Connections

- User → HTTP entrypoint: sends requests (evidence: `public/index.php`)
- HTTP entrypoint → Application bootstrap: loads app (evidence: `public/index.php`)
- Application bootstrap → HTTP middleware: binds kernel (evidence: `bootstrap/app.php`)
- HTTP middleware → Route registration: handles requests
- Route registration → Web routes: loads routes (evidence: `app/Providers/RouteServiceProvider.php`)
- Web routes → Reservation management: routes requests (evidence: `routes/web.php`)
- Web routes → Route management: routes requests (evidence: `routes/web.php`)
- Web routes → Vehicle management: routes requests (evidence: `routes/web.php`)
- Web routes → Chauffeur management: routes requests (evidence: `routes/web.php`)
- Web routes → Passenger management: routes requests (evidence: `routes/web.php`)
- Web routes → Profile management: routes requests (evidence: `routes/web.php`)
- Web routes → Dashboard: routes requests
- Web routes → Auth routes: includes routes (evidence: `routes/web.php`)
- Auth routes → Authentication: routes requests (evidence: `routes/auth.php`)
- Auth routes → Registration: routes requests (evidence: `routes/auth.php`)
- Registration → User account: creates account (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- Reservation management → Reservations: reads and writes (evidence: `app/Http/Controllers/ReservationController.php`)
- Reservation management → Trajets: loads options (evidence: `app/Http/Controllers/ReservationController.php`)
- Reservation management → Vehicles: loads options (evidence: `app/Http/Controllers/ReservationController.php`)
- Reservation management → Chauffeurs: loads options (evidence: `app/Http/Controllers/ReservationController.php`)
- Reservation management → Passengers: loads options (evidence: `app/Http/Controllers/ReservationController.php`)
- Route management → Trajets: manages data (evidence: `app/Http/Controllers/TrajetController.php`)
- Vehicle management → Vehicles: manages data (evidence: `app/Http/Controllers/VehiculeController.php`)
- Chauffeur management → Chauffeurs: manages data (evidence: `app/Http/Controllers/ChauffeurController.php`)
- Reservations → Trajets: belongs to (evidence: `app/Models/Reservation.php`)
- Reservations → Vehicles: belongs to (evidence: `app/Models/Reservation.php`)
- Reservations → Chauffeurs: belongs to (evidence: `app/Models/Reservation.php`)
- Reservations → Passengers: links passengers (evidence: `app/Models/Reservation.php`)
