使用composer下载并导入smarty

Original 2019-04-08 08:18:35 190
abstract:composer require smarty/smarty下载完成后引入vendor/autoload.php自动加载文件这样就可以直接使用smarty类了$smarty = new Smarty();

composer require smarty/smarty

下载完成后

引入vendor/autoload.php自动加载文件

这样就可以直接使用smarty类了

$smarty = new Smarty();

Correcting teacher:天蓬老师Correction time:2019-04-08 09:24:30
Teacher's summary:通过composer来加载第三方组件, 是现代开发一个基本方案 , 要掌握

Release Notes

Popular Entries