1.下载证书https://curl.se/docs/caextract.html 2.重命名将 cacert.pem 重命名为 curl-ca-bundle.crt3.修改php.inicurl.cainfo
openssl.cafile
openssl.capath[curl]
; A default value for the
<?php
namespace app\index\controller;
use PhpOffice\PhpWord\IOFactory;
use PhpOffice\PhpWord\PhpWord;
use PhpOffice\PhpWord\Style\Table;
use PhpOffice\PhpWord\SimpleTy