这里做的是二维码,使用的是qrcode类。laravel和tp一样使用include时走的是public下的入口文件index.php 使用路径为: include ‘…/app/Libs/qrcode/PhpQrCode.php’;