# awateftlili/gestion-de-conge architecture

> Architecture diagram of the GitHub repository awateftlili/gestion-de-conge, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/awateftlili/gestion-de-conge
- Repository: https://github.com/awateftlili/gestion-de-conge

## Overview

GLPI is an IT service-management and asset-management application. A typical user enters through the web interface, manages an asset or service request, and views the resulting record; administrators also configure identity, entities, and application settings. The tree documents broad capabilities including inventory, ITIL tickets, knowledge management, dashboards, APIs, plugins, and scheduled tasks. The supplied excerpts show shared bootstrap, session/security, rendering, plugin, cache, and database layers, but not the implementation of most domain handlers, so those links are shown as unverified rather than asserted.

Main entry points: [`glpi/front/index.php`](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/index.php) (Web interface), [`glpi/inc/includes.php`](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/inc/includes.php) (Request bootstrap), [`glpi/src/Ticket.php`](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Ticket.php) (Tickets and ITIL), [`glpi/src/Inventory/Asset/Controller.php`](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Inventory/Asset/Controller.php) (Asset inventory)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Web and API entry"]
  node_web["Web interface<br/>[index.php]"]
  node_api["REST API<br/>[apirest.php]"]
  node_xmlrpc["XML-RPC API<br/>[apixmlrpc.php]"]
  node_caldav["CalDAV service<br/>[Server.php]"]
end

subgraph group_service["IT service workflows"]
  node_ticket["Tickets and ITIL<br/>[Ticket.php]"]
  node_helpdesk["Helpdesk portal<br/>[helpdesk.php]"]
  node_knowledge["Knowledge base<br/>[knowbaseitem.php]"]
  node_dashboard["Dashboards"]
end

subgraph group_assets["Asset management"]
  node_inventory["Asset inventory<br/>[Controller.php]"]
  node_assets_ui["Asset records<br/>[allassets.php]"]
  node_document["Documents<br/>[Document.php]"]
  node_entity["Entities<br/>[Entity.php]"]
end

subgraph group_platform["Platform services"]
  node_bootstrap["Request bootstrap<br/>[includes.php]"]
  node_session["Session and access<br/>[Session.php]"]
  node_html["UI rendering<br/>[Html.php]"]
  node_dropdown["Form controls<br/>[Dropdown.php]"]
  node_config["Configuration<br/>[Config.php]"]
  node_database[("Database engine<br/>[DBmysql.php]")]
  node_commondb["Record persistence<br/>[CommonDBTM.php]"]
  node_user_model["User records<br/>[User.php]"]
  node_toolbox["Shared utilities<br/>[Toolbox.php]"]
  node_error["Error handling<br/>[ErrorHandler.php]"]
end

subgraph group_extensions["Extensions and operations"]
  node_plugin["Plugin lifecycle<br/>[Plugin.php]"]
  node_marketplace["Marketplace<br/>[Controller.php]"]
  node_cron["Scheduled tasks<br/>[CronTask.php]"]
  node_rules["Rule processing<br/>[RulesManager.php]"]
  node_cache["Cache management<br/>[CacheManager.php]"]
  node_log["Event logging<br/>[Log.php]"]
end

node_user(("User"))

node_user -.->|"uses"| node_web
node_user -.->|"submits requests"| node_api
node_web -.->|"loads"| node_bootstrap
node_web -.->|"manages requests"| node_ticket
node_helpdesk -.->|"handles tickets"| node_ticket
node_web -.->|"manages assets"| node_assets_ui
node_assets_ui -.->|"uses inventory"| node_inventory
node_web -.->|"browses"| node_knowledge
node_web -.->|"views"| node_dashboard
node_bootstrap -->|"checks requests"| node_session
node_bootstrap -->|"initializes"| node_plugin
node_bootstrap -->|"uses sanitization"| node_toolbox
node_web -.->|"initializes"| node_database
node_web -->|"references"| node_user_model
node_web -->|"references"| node_dropdown
node_web -->|"references"| node_cron
node_web -->|"references view"| node_marketplace
node_session -->|"uses"| node_user_model
node_config -->|"renders settings"| node_dropdown
node_inventory -->|"uses records"| node_commondb
node_inventory -.->|"references"| node_entity
node_cron -->|"logs activity"| node_log
node_cron -->|"runs plugin tasks"| node_plugin
node_rules -->|"reads configuration"| node_config
node_marketplace -->|"manages plugins"| node_plugin
node_cache -->|"uses utilities"| node_toolbox
node_caldav -->|"uses database"| node_database
node_document -.->|"uses records"| node_commondb
node_api -.->|"exposes operations"| node_ticket
node_xmlrpc -.->|"exposes operations"| node_ticket

click node_web "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/index.php"
click node_api "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/apirest.php"
click node_xmlrpc "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/apixmlrpc.php"
click node_caldav "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/CalDAV/Server.php"
click node_ticket "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Ticket.php"
click node_helpdesk "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/helpdesk.php"
click node_knowledge "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/knowbaseitem.php"
click node_dashboard "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/dashboard_helpdesk.php"
click node_inventory "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Inventory/Asset/Controller.php"
click node_assets_ui "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/allassets.php"
click node_document "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Document.php"
click node_entity "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Entity.php"
click node_bootstrap "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/inc/includes.php"
click node_session "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Session.php"
click node_html "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Html.php"
click node_dropdown "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Dropdown.php"
click node_config "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Config.php"
click node_database "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/DBmysql.php"
click node_commondb "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/CommonDBTM.php"
click node_user_model "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/User.php"
click node_toolbox "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Toolbox.php"
click node_error "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Application/ErrorHandler.php"
click node_plugin "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Plugin.php"
click node_marketplace "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Marketplace/Controller.php"
click node_cron "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/CronTask.php"
click node_rules "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Rules/RulesManager.php"
click node_cache "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Cache/CacheManager.php"
click node_log "https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Log.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_web,node_api,node_xmlrpc,node_caldav,node_user toneBlue
class node_ticket,node_helpdesk,node_knowledge,node_dashboard toneAmber
class node_inventory,node_assets_ui,node_document,node_entity toneMint
class node_bootstrap,node_session,node_html,node_dropdown,node_config,node_database,node_commondb,node_user_model,node_toolbox,node_error toneRose
class node_plugin,node_marketplace,node_cron,node_rules,node_cache,node_log toneIndigo
```

## Components

### Web and API entry

- [Web interface](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/index.php): `glpi/front/index.php`
- [REST API](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/apirest.php): `glpi/apirest.php`
- [XML-RPC API](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/apixmlrpc.php): `glpi/apixmlrpc.php`
- [CalDAV service](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/CalDAV/Server.php): `glpi/src/CalDAV/Server.php`

### IT service workflows

- [Tickets and ITIL](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Ticket.php): `glpi/src/Ticket.php`
- [Helpdesk portal](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/helpdesk.php): `glpi/front/helpdesk.php`
- [Knowledge base](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/knowbaseitem.php): `glpi/front/knowbaseitem.php`
- [Dashboards](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/dashboard_helpdesk.php): `glpi/front/dashboard_helpdesk.php`

### Asset management

- [Asset inventory](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Inventory/Asset/Controller.php): `glpi/src/Inventory/Asset/Controller.php`
- [Asset records](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/front/allassets.php): `glpi/front/allassets.php`
- [Documents](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Document.php): `glpi/src/Document.php`
- [Entities](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Entity.php): `glpi/src/Entity.php`

### Platform services

- [Request bootstrap](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/inc/includes.php): `glpi/inc/includes.php`
- [Session and access](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Session.php): `glpi/src/Session.php`
- [UI rendering](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Html.php): `glpi/src/Html.php`
- [Form controls](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Dropdown.php): `glpi/src/Dropdown.php`
- [Configuration](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Config.php): `glpi/src/Config.php`
- [Database engine](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/DBmysql.php): `glpi/src/DBmysql.php`
- [Record persistence](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/CommonDBTM.php): `glpi/src/CommonDBTM.php`
- [User records](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/User.php): `glpi/src/User.php`
- [Shared utilities](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Toolbox.php): `glpi/src/Toolbox.php`
- [Error handling](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Application/ErrorHandler.php): `glpi/src/Application/ErrorHandler.php`

### Extensions and operations

- [Plugin lifecycle](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Plugin.php): `glpi/src/Plugin.php`
- [Marketplace](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Marketplace/Controller.php): `glpi/src/Marketplace/Controller.php`
- [Scheduled tasks](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/CronTask.php): `glpi/src/CronTask.php`
- [Rule processing](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Rules/RulesManager.php): `glpi/src/Rules/RulesManager.php`
- [Cache management](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Cache/CacheManager.php): `glpi/src/Cache/CacheManager.php`
- [Event logging](https://github.com/awateftlili/gestion-de-conge/blob/main/glpi/src/Log.php): `glpi/src/Log.php`

### Other components

- **User**

## Connections

- User → Web interface: uses
- User → REST API: submits requests
- Web interface → Request bootstrap: loads
- Web interface → Tickets and ITIL: manages requests
- Helpdesk portal → Tickets and ITIL: handles tickets
- Web interface → Asset records: manages assets
- Asset records → Asset inventory: uses inventory
- Web interface → Knowledge base: browses
- Web interface → Dashboards: views
- Request bootstrap → Session and access: checks requests (evidence: `glpi/inc/includes.php`)
- Request bootstrap → Plugin lifecycle: initializes (evidence: `glpi/inc/includes.php`)
- Request bootstrap → Shared utilities: uses sanitization (evidence: `glpi/inc/includes.php`)
- Web interface → Database engine: initializes
- Web interface → User records: references
- Web interface → Form controls: references
- Web interface → Scheduled tasks: references
- Web interface → Marketplace: references view
- Session and access → User records: uses (evidence: `glpi/src/Session.php`)
- Configuration → Form controls: renders settings (evidence: `glpi/src/Config.php`)
- Asset inventory → Record persistence: uses records (evidence: `glpi/src/Inventory/Asset/Controller.php`)
- Asset inventory → Entities: references
- Scheduled tasks → Event logging: logs activity (evidence: `glpi/src/CronTask.php`)
- Scheduled tasks → Plugin lifecycle: runs plugin tasks (evidence: `glpi/src/CronTask.php`)
- Rule processing → Configuration: reads configuration (evidence: `glpi/src/Rules/RulesManager.php`)
- Marketplace → Plugin lifecycle: manages plugins (evidence: `glpi/src/Marketplace/Controller.php`)
- Cache management → Shared utilities: uses utilities (evidence: `glpi/src/Cache/CacheManager.php`)
- CalDAV service → Database engine: uses database (evidence: `glpi/src/DBmysql.php`)
- Documents → Record persistence: uses records
- REST API → Tickets and ITIL: exposes operations
- XML-RPC API → Tickets and ITIL: exposes operations
