我已经使用CakePDF Plugin和dompdf / dompdf通过composer安装了CakePHP 3.5.x :(作曲家show -i的缩短输出)
ds.groupBy(col("product"))
.agg(collect_list(to_json(struct(col("purchaser"), col("amount"))).alias("json")));
我试过了:
cakephp/cakephp 3.5.13 The CakePHP framework
dompdf/dompdf v0.8.2 DOMPDF is a CSS 2.1 compliant HTML to PDF converter
friendsofcake/cakepdf 3.4.0 CakePHP plugin for creating and/or rendering Pdfs, several Pdf engines supported.
我将它添加到bootstrap.php(几乎在config / bootstrap.php的末尾)
composer install
composer update
composer dump-autoload
但没有任何作用,我仍然得到 Pdf引擎" CakePdf.Dompdf"找不到
任何人都能说出原因吗?相同的安装程序正在另一台主机,所以我相信我有作曲家自动加载的问题?