# 技术栈

The following describes the tech stack for Chamilo 2.0. All versions stated here are likely to change as new versions of Chamilo are released. Version numbers use [Composer's versions notation](https://getcomposer.org/doc/articles/versions.md) which set rules to allow for some flexibility around versions.

Including hierarchical dependencies, Chamilo uses several hundred Free Software libraries. This list only includes the ones we use the most and that will likely affect the work of a Chamilo developer every week or so. We are greatful to all other Free Software developers out there making ou work easier, more maintainable and more secure.

## Backend

| Technology                          | Version | Purpose                                              |
| ----------------------------------- | ------- | ---------------------------------------------------- |
| PHP                                 | 8.2+    | Runtime                                              |
| Symfony                             | 6.4.\*  | Framework                                            |
| Doctrine ORM                        | ^2.16   | Database abstraction                                 |
| API Platform                        | ^3.0    | REST API framework                                   |
| oneup/flysystem-bundle              | \~4.0   | File storage abstraction                             |
| vich/uploader-bundle                | ^2.8    | File upload handling                                 |
| stof/doctrine-extensions-bundle     | ^1.12   | Doctrine extensions (tree, timestampable, sluggable) |
| lexik/jwt-authentication-bundle     | ^2.20   | JWT authentication                                   |
| nelmio/cors-bundle                  | ^2.2    | CORS headers                                         |
| mpdf/mpdf                           | \~8.0   | PDF generation                                       |
| phpoffice/phpspreadsheet            | \~1.16  | Excel/spreadsheet handling                           |
| firebase/php-jwt                    | ^7.0    | JWT token handling                                   |
| bigbluebutton/bigbluebutton-api-php | ^2.0    | BigBlueButton integration                            |
| packbackbooks/lti-1p3-tool          | ^6.4    | LTI 1.3 implementation                               |

## Frontend

| Technology   | Version | Purpose                   |
| ------------ | ------- | ------------------------- |
| Vue.js       | ^3.5    | UI framework              |
| PrimeVue     | ^4.5    | Component library         |
| Pinia        | ^3.0    | State management          |
| Vue Router   | 5.0     | Client-side routing       |
| Vue I18n     | 11.3    | Internationalization      |
| Axios        | ^1.13   | HTTP client               |
| TinyMCE      | ^5.10   | Rich text editor          |
| Chart.js     | ^4.5    | Charts and visualizations |
| FullCalendar | ^6.1    | Calendar component        |
| Uppy         | ^4.5    | File upload widget        |
| PrimeFlex    | ^4.0    | CSS utility framework     |

## Build Tools

| Technology             | Version | Purpose                     |
| ---------------------- | ------- | --------------------------- |
| Composer               | ^2.8    | PHP dependency manager      |
| Webpack                | ^5.105  | Module bundler              |
| Symfony Webpack Encore | ^5.3    | Webpack wrapper for Symfony |
| Tailwind CSS           | ^3.4    | Utility-first CSS framework |
| Sass                   | ^1.98   | CSS preprocessor            |
| TypeScript             | ^5.9    | Type-safe JavaScript        |
| ESLint                 | ^10.0   | Linting                     |
| Prettier               | 3.8     | Code formatting             |

## Icons

| Library   | Version | Usage                                           |
| --------- | ------- | ----------------------------------------------- |
| @mdi/font | 7.4.47  | Material Design Icons (CSS classes `mdi mdi-*`) |

## Database

Chamilo supports:

* MySQL 5.7+
* MariaDB 10.11.2+

## Cloud Storage

Via Flysystem adapters:

* Local filesystem (default)
* AWS S3 (`league/flysystem-aws-s3-v3`)
* Azure Blob Storage (`league/flysystem-azure-blob-storage`)
* Google Cloud Storage (`league/flysystem-google-cloud-storage`)


---

# 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-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/getting-started/tech-stack.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.
