# Ontwikkelaarsgids

Welkom bij de Chamilo 2.0 Ontwikkelaarsgids. Deze gids is bedoeld voor ontwikkelaars die de Chamilo-architectuur willen begrijpen, het platform willen uitbreiden met plugins, de API willen gebruiken, de interface willen aanpassen of willen bijdragen aan het project.

## Architectuur in een Oogopslag

Chamilo 2.0 is gebouwd op:

* **Backend**: Symfony 6.4 (PHP 8.2+) met Doctrine ORM en API Platform 3.0
* **Frontend**: Vue 3 met PrimeVue, Pinia state management en Vue Router
* **Buildsysteem**: Webpack 5 via Symfony Webpack Encore, met Tailwind CSS
* **Authenticatie**: JWT tokens (lexik/jwt-authentication-bundle)
* **Bestandsopslag**: Flysystem (ondersteunt lokaal, AWS S3, Azure Blob, Google Cloud)

De codebase is georganiseerd in drie Symfony-bundles:

| Bundle           | Doel                                                                                        |
| ---------------- | ------------------------------------------------------------------------------------------- |
| **CoreBundle**   | Kern van het platform: gebruikers, instellingen, bronnen, beheer, AI-providers, beveiliging |
| **CourseBundle** | Cursusspecifieke functies: documenten, oefeningen, leerpaden, forums, enz.                  |
| **LtiBundle**    | LTI 1.3 integratie voor externe leermiddelen                                                |

## Hoe Deze Gids Is Georganiseerd

1. **Aan de Slag** — Technologie-stack, ontwikkelomgeving, projectstructuur
2. **Backend** — Symfony-architectuur, entiteiten, bronnensysteem, controllers, instellingen
3. **API** — REST API via API Platform, JWT-authenticatie, aangepaste acties
4. **Frontend** — Vue-componenten, weergaven, routing, state management, buildsysteem
5. **Thema's** — Kleurenthema's, CSS/Tailwind, Twig-templates
6. **Plugins** — Plugin-architectuur en ontwikkeling
7. **Bijdragen** — Codeerconventies, git-workflow, testen


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/2.x-nl/ontwikkelaarsgids/developer-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
