【发布时间】:2015-09-02 09:09:50
【问题描述】:
我需要以 docx 格式保存文档。为此,我使用 PHPOffice/PHPWord
我将它添加到我的作曲家中
"phpoffice/phpword": "dev-master"
比更新作曲家。 比我在“开始”部分https://github.com/PHPOffice/PHPWord 的说明中使用类似示例。
我没有在 AppKernel 中注册它,因为如果我添加 new PhpOffice\PhpWord\PhpWord() 我有错误 Method getname is not defined.。
我的问题是如何为工作定制它以及文档保存在哪里?
【问题讨论】:
-
你成功了吗?