abstract:下载:在项目路径下运行cmd打上composer require smarty/smarty回车composer会自动开始下载导入在文件中用require引入即可require 'vendor/autoload.php'; $smarty = new Smarty();
下载:
在项目路径下运行cmd
打上composer require smarty/smarty
回车
composer会自动开始下载
导入
在文件中用require引入即可
require 'vendor/autoload.php';
$smarty = new Smarty();
Correcting teacher:韦小宝Correction time:2019-02-28 13:15:35
Teacher's summary:通过composer来下载安装smarty还是很简单的