# glpi-project/glpi architecture

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

- Interactive diagram: https://gitdiagram.com/glpi-project/glpi
- Repository: https://github.com/glpi-project/glpi

## Overview

GLPI is a web-based IT asset management and ITIL service desk. Users manage assets and service requests through web interfaces; the product also supports change, knowledge, contracts, reservations, projects, planning, DCIM, and service catalog capabilities. Sampled source confirms the HTTP entry point, form-condition evaluation and form import preview, and search output selection. Many feature modules are represented by exact paths from the tree, but their internal call relationships were not sampled, so those links are documented capability-level relationships rather than inferred pipelines.

Main entry points: [`src/Glpi/Form/Form.php`](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Form/Form.php) (Service catalog forms), [`src/Glpi/Controller/Form/Condition/EngineController.php`](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Controller/Form/Condition/EngineController.php) (Condition endpoint), [`public/index.php`](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/public/index.php) (HTTP front controller), [`src/CommonITILObject.php`](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/CommonITILObject.php) (Requests and incidents)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application entry"]
  node_http["HTTP front controller<br/>[index.php]"]
  node_kernel["Application kernel"]
end

subgraph group_service["Service management"]
  node_ticket["Requests and incidents"]
  node_change["Change management<br/>[Change.php]"]
  node_project["Projects and tasks<br/>[Project.php]"]
  node_planning["Intervention planning<br/>[planning.php]"]
  node_knowledge["Knowledge base<br/>[knowbaseitem.php]"]
end

subgraph group_assets["IT asset management"]
  node_asset["Asset inventory"]
  node_dcim["Data center assets<br/>[DCRoom.php]"]
  node_software["Software and licenses"]
  node_contracts["Contracts and costs<br/>[Contract.php]"]
  node_reservations["Asset reservations<br/>[reservation.php]"]
end

subgraph group_forms["Forms and knowledge"]
  node_forms["Service catalog forms<br/>[Form.php]"]
  node_conditions["Form conditions<br/>[Engine.php]"]
  node_condition_api["Condition endpoint"]
  node_import["Form import preview"]
end

subgraph group_platform["Shared platform"]
  node_search["Search and reporting<br/>[SearchEngine.php]"]
  node_entities["Entity separation<br/>[Entity.php]"]
  node_records[("Persistent records<br/>[CommonDBTM.php]")]
  node_session["Session and permissions<br/>[Session.php]"]
  node_oauth["OAuth clients<br/>[OAuthClient.php]"]
  node_marketplace["Plugin marketplace<br/>[View.php]"]
end

node_user(("GLPI user"))

node_user -->|"uses"| node_http
node_http -->|"boots"| node_kernel
node_user -->|"manages requests"| node_ticket
node_user -->|"manages changes"| node_change
node_user -->|"tracks projects"| node_project
node_user -->|"plans interventions"| node_planning
node_user -->|"uses knowledge base"| node_knowledge
node_user -->|"manages inventory"| node_asset
node_user -->|"manages infrastructure"| node_dcim
node_user -->|"tracks licenses"| node_software
node_user -->|"manages contracts"| node_contracts
node_user -->|"reserves assets"| node_reservations
node_user -->|"submits requests"| node_forms
node_condition_api -->|"loads form"| node_forms
node_condition_api -->|"evaluates visibility"| node_conditions
node_import -->|"checks permissions"| node_forms
node_user -->|"searches records"| node_search
node_user -->|"separates organizations"| node_entities
node_user -->|"configures authentication"| node_oauth
node_user -->|"browses plugins"| node_marketplace
node_ticket -.->|"inherits persistence"| node_records
node_asset -.->|"persists inventory"| node_records
node_user -.->|"authenticates"| node_session

click node_http "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/public/index.php"
click node_kernel "https://github.com/glpi-project/glpi/tree/12.0/bugfixes/src/Glpi/Kernel"
click node_ticket "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/CommonITILObject.php"
click node_change "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Change.php"
click node_project "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Project.php"
click node_planning "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/front/planning.php"
click node_knowledge "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/front/knowbaseitem.php"
click node_asset "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Asset/AssetDefinitionManager.php"
click node_dcim "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/DCRoom.php"
click node_software "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/SoftwareLicense.php"
click node_contracts "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Contract.php"
click node_reservations "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/front/reservation.php"
click node_forms "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Form/Form.php"
click node_conditions "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Form/Condition/Engine.php"
click node_condition_api "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Controller/Form/Condition/EngineController.php"
click node_import "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Controller/Form/Import/Step2PreviewController.php"
click node_search "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Search/SearchEngine.php"
click node_entities "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Entity.php"
click node_records "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/CommonDBTM.php"
click node_session "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Session.php"
click node_oauth "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/OAuthClient.php"
click node_marketplace "https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Marketplace/View.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_http,node_kernel,node_user toneBlue
class node_ticket,node_change,node_project,node_planning,node_knowledge toneAmber
class node_asset,node_dcim,node_software,node_contracts,node_reservations toneMint
class node_forms,node_conditions,node_condition_api,node_import toneRose
class node_search,node_entities,node_records,node_session,node_oauth,node_marketplace toneIndigo
```

## Components

### Application entry

- [HTTP front controller](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/public/index.php): `public/index.php`
- [Application kernel](https://github.com/glpi-project/glpi/tree/12.0/bugfixes/src/Glpi/Kernel): `src/Glpi/Kernel`

### Service management

- [Requests and incidents](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/CommonITILObject.php): `src/CommonITILObject.php`
- [Change management](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Change.php): `src/Change.php`
- [Projects and tasks](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Project.php): `src/Project.php`
- [Intervention planning](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/front/planning.php): `front/planning.php`
- [Knowledge base](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/front/knowbaseitem.php): `front/knowbaseitem.php`

### IT asset management

- [Asset inventory](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Asset/AssetDefinitionManager.php): `src/Glpi/Asset/AssetDefinitionManager.php`
- [Data center assets](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/DCRoom.php): `src/DCRoom.php`
- [Software and licenses](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/SoftwareLicense.php): `src/SoftwareLicense.php`
- [Contracts and costs](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Contract.php): `src/Contract.php`
- [Asset reservations](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/front/reservation.php): `front/reservation.php`

### Forms and knowledge

- [Service catalog forms](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Form/Form.php): `src/Glpi/Form/Form.php`
- [Form conditions](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Form/Condition/Engine.php): `src/Glpi/Form/Condition/Engine.php`
- [Condition endpoint](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Controller/Form/Condition/EngineController.php): `src/Glpi/Controller/Form/Condition/EngineController.php`
- [Form import preview](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Controller/Form/Import/Step2PreviewController.php): `src/Glpi/Controller/Form/Import/Step2PreviewController.php`

### Shared platform

- [Search and reporting](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Search/SearchEngine.php): `src/Glpi/Search/SearchEngine.php`
- [Entity separation](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Entity.php): `src/Entity.php`
- [Persistent records](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/CommonDBTM.php): `src/CommonDBTM.php`
- [Session and permissions](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Session.php): `src/Session.php`
- [OAuth clients](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/OAuthClient.php): `src/OAuthClient.php`
- [Plugin marketplace](https://github.com/glpi-project/glpi/blob/12.0/bugfixes/src/Glpi/Marketplace/View.php): `src/Glpi/Marketplace/View.php`

### Other components

- **GLPI user**

## Connections

- GLPI user → HTTP front controller: uses (evidence: `public/index.php`)
- HTTP front controller → Application kernel: boots (evidence: `public/index.php`)
- GLPI user → Requests and incidents: manages requests
- GLPI user → Change management: manages changes
- GLPI user → Projects and tasks: tracks projects
- GLPI user → Intervention planning: plans interventions
- GLPI user → Knowledge base: uses knowledge base
- GLPI user → Asset inventory: manages inventory
- GLPI user → Data center assets: manages infrastructure
- GLPI user → Software and licenses: tracks licenses
- GLPI user → Contracts and costs: manages contracts
- GLPI user → Asset reservations: reserves assets
- GLPI user → Service catalog forms: submits requests
- Condition endpoint → Service catalog forms: loads form (evidence: `src/Glpi/Controller/Form/Condition/EngineController.php`)
- Condition endpoint → Form conditions: evaluates visibility (evidence: `src/Glpi/Controller/Form/Condition/EngineController.php`)
- Form import preview → Service catalog forms: checks permissions (evidence: `src/Glpi/Controller/Form/Import/Step2PreviewController.php`)
- GLPI user → Search and reporting: searches records
- GLPI user → Entity separation: separates organizations
- GLPI user → OAuth clients: configures authentication
- GLPI user → Plugin marketplace: browses plugins (evidence: `src/Glpi/Marketplace/View.php`)
- Requests and incidents → Persistent records: inherits persistence
- Asset inventory → Persistent records: persists inventory
- GLPI user → Session and permissions: authenticates
