{"id":14966416,"url":"https://github.com/yiisoft/yii2-smarty","last_synced_at":"2025-04-05T01:06:42.407Z","repository":{"id":47292055,"uuid":"13262024","full_name":"yiisoft/yii2-smarty","owner":"yiisoft","description":"Yii 2 Smarty Extension.","archived":false,"fork":false,"pushed_at":"2024-01-21T08:01:57.000Z","size":9942,"stargazers_count":74,"open_issues_count":1,"forks_count":35,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-10-29T14:35:38.901Z","etag":null,"topics":["hacktoberfest","smarty","template-engine","yii","yii2"],"latest_commit_sha":null,"homepage":"http://www.yiiframework.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"open_collective":"yiisoft","github":["yiisoft"],"tidelift":"packagist/yiisoft/yii2-smarty"}},"created_at":"2013-10-02T03:30:52.000Z","updated_at":"2024-06-26T09:44:01.000Z","dependencies_parsed_at":"2023-11-09T15:05:29.556Z","dependency_job_id":"851f43f2-f5fa-4d14-af99-12efd6c6325a","html_url":"https://github.com/yiisoft/yii2-smarty","commit_stats":{"total_commits":3912,"total_committers":144,"mean_commits":"27.166666666666668","dds":0.6229550102249488,"last_synced_commit":"e8a517fc66bc71567157a21361ebe6ebc9d6e1fe"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-smarty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-smarty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-smarty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-smarty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii2-smarty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245598310,"owners_count":20641884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","smarty","template-engine","yii","yii2"],"created_at":"2024-09-24T13:36:21.213Z","updated_at":"2025-03-29T00:08:58.541Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft","https://tidelift.com/funding/github/packagist/yiisoft/yii2-smarty"],"categories":["PHP"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.smarty.net/\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://www.smarty.net/images/logo.png\" height=\"74px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eSmarty Extension for Yii 2\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis extension provides a `ViewRender` that would allow you to use [Smarty](https://www.smarty.net/) view template engine\nwith [Yii framework 2.0](https://www.yiiframework.com).\n\nFor license information check the [LICENSE](LICENSE.md)-file.\n\nDocumentation is at [docs/guide/README.md](docs/guide/README.md).\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-smarty/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-smarty)\n[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-smarty/downloads.png)](https://packagist.org/packages/yiisoft/yii2-smarty)\n[![Build Status](https://github.com/yiisoft/yii2-smarty/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-smarty/actions)\n\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --prefer-dist yiisoft/yii2-smarty\n```\n\nor add\n\n```json\n\"yiisoft/yii2-smarty\": \"~2.0.0\"\n```\n\nto the require section of your composer.json.\n\nNote that the smarty composer package is distributed using subversion so you may need to install subversion.\n\nUsage\n-----\n\nTo use this extension, simply add the following code in your application configuration:\n\n```php\nreturn [\n    //....\n    'components' =\u003e [\n        'view' =\u003e [\n            'renderers' =\u003e [\n                'tpl' =\u003e [\n                    'class' =\u003e 'yii\\smarty\\ViewRenderer',\n                    //'cachePath' =\u003e '@runtime/Smarty/cache',\n                ],\n            ],\n        ],\n    ],\n];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-smarty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii2-smarty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-smarty/lists"}