tp5的phpword使用

1、使用composer安装phpoffice/phpword

phpword的使用文档:https://phpword.readthedocs.io/en/latest/index.html

2、使用方法:

行合并方法使用vMerge:restart和continue;列的合并方法:gridSpan:数字

原文地址:https://www.cnblogs.com/ziyandeyanhuo/p/9963092.html