https://www.smarty.net/docs/zh_CN/

安装

composer require smarty/smarty