yiisoft / Yii2 Smarty
Licence: bsd-3-clause
Yii 2 Smarty Extension.
Stars: ✭ 67
Projects that are alternatives of or similar to Yii2 Smarty
Yii2 Twig
Yii 2 Twig extension.
Stars: ✭ 130 (+94.03%)
Mutual labels: hacktoberfest, yii2, yii, template-engine
Yii2 App Basic
Yii 2.0 Basic Application Template
Stars: ✭ 548 (+717.91%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Elasticsearch
Yii 2 Elasticsearch extension
Stars: ✭ 401 (+498.51%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Swiftmailer
Yii 2 swiftmailer extension.
Stars: ✭ 109 (+62.69%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Bootstrap4
Yii 2 Bootstrap 4 Extension
Stars: ✭ 204 (+204.48%)
Mutual labels: hacktoberfest, yii2, yii
Yii2
Yii 2: The Fast, Secure and Professional PHP Framework
Stars: ✭ 13,852 (+20574.63%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 App Advanced
Yii 2.0 Advanced Application Template
Stars: ✭ 1,569 (+2241.79%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Docker
Official Docker images suitable for Yii 2.0
Stars: ✭ 286 (+326.87%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Bootstrap
Yii 2 Bootstrap 3 Extension
Stars: ✭ 177 (+164.18%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Openapi
REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
Stars: ✭ 99 (+47.76%)
Mutual labels: hacktoberfest, yii2, yii
Smarty Extension for Yii 2
This extension provides a ViewRender
that would allow you to use Smarty view template engine
with Yii framework 2.0.
For license information check the LICENSE-file.
Documentation is at docs/guide/README.md.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist yiisoft/yii2-smarty
or add
"yiisoft/yii2-smarty": "~2.0.0"
to the require section of your composer.json.
Note that the smarty composer package is distributed using subversion so you may need to install subversion.
Usage
To use this extension, simply add the following code in your application configuration:
return [
//....
'components' => [
'view' => [
'renderers' => [
'tpl' => [
'class' => 'yii\smarty\ViewRenderer',
//'cachePath' => '@runtime/Smarty/cache',
],
],
],
],
];
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].