【文件属性】:
文件名称:swoft-smarty:sowft框架smarty模板组件(Sawft framework smart template component )
文件大小:7KB
文件格式:ZIP
更新时间:2021-04-15 15:22:46
php smarty swoole swoft swoft-game
swoft-smarty
sowft框架smarty模板组件
smarty template component for swoft.
Swoft-smarty Component
Install, 安装
composer install command
composer require jxy918/swoft-smarty
smarty default config
swoft框架里 smarty 的默认配置如下, 默认不需要添加, 如果想要修改, 可以把下面配置放入到bean.php里面, 进行相应的修改即可
'smarty' => [
'debugging'=>true,
'caching'=>true,
'cacheLifetime'=>120,
'leftDelimiter' => '<!--{',
'rightDelimiter' =>
【文件预览】:
swoft-smarty-master
----src()
--------Contract()
--------AutoLoader.php(1KB)
--------Smarty.php(5KB)
----test()
--------unit()
--------bootstrap.php(178B)
----phpunit.xml(715B)
----README.md(3KB)
----.gitignore(27B)
----composer.json(806B)