PDF类库:
domPdf
使用方法:
https://github.com/barryvdh/laravel-dompdf
Excel类库:
maatwebsite/excel
使用方法:https://laravel-china.org/topics/1918/extension-how-to-deal-with-the-excel-file-in-the-laravel-project
Demo 代码请见:
https://github.com/zhengjinghua/est-excel-demo
请参照此文档运行 Demo:
https://laravel-china.org/topics/1902
更多优秀拓展包参考:
https://laravel-china.org/topics/2530/the-highest-amount-of-downloads-of-the-100-laravel-extensions-recommended