依赖项与外部库
Jump to navigation
Jump to search
嵌入内部源代码的库
嵌入到 Dolibarr 发行版中的所有库(PHP和JavaScript)都位于目录 htdocs/includes 中:
Dolibarr依赖项的完整且最新的清单在此文件中:https://github.com/Dolibarr/dolibarr/blob/develop/COPYRIGHT
您可以更改版本的标签或分支,以获取给定Dolibarr版本的正确文件。
所有的外部嵌入式库都必须遵守以下规则:
- 它们必须与Dolibarr许可证兼容。Dolibarr根目录中的 COPYRIGHT 文件列出了所有嵌入式库及其许可证。
- 如果对原外部库代码进行了变更,则必须在文件 devs/dolibarr_changes.txt 中通报此变更。在大多数情况下,您不应该编辑外部库,而应该按照其提供的方式使用它们。这是为了使库升级成为可能,而无需在升级后报告代码变更。
Apache 模块
mod_php
PHP 扩展
Database drivers (only one required, depending on your database):
- MySQL : mysqli
- PostgreSQL: pgsql
- MSSQL: mssql (not tested)
- SqLite: pdo_sqlite (not working yet)
Image manipulation:
- imagick (option)
- gd
Encoding/Encryption:
- mcrypt (option)
- openssl (option)
- mbstring (if database is not UTF-8)
For module Webservices:
- soap (option)
Other:
- curl
- intl
- calendar (for date manipulation)
- zip (handling of .xlsx, .ods and .gnumeric files)
- xml
- for PHPExcel:
- gd2 (optional, but required for exact column width autocalculation)