PHPackages                             phalcon-framwork/view-engine - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. phalcon-framwork/view-engine

ActivePhalcon-view-engine[Templating &amp; Views](/categories/templating)

phalcon-framwork/view-engine
============================

phalcon view smarty引擎适配器

v1.0.0(7y ago)05211Apache-2.0PHPPHP &gt;=7.0

Since Dec 10Pushed 7y agoCompare

[ Source](https://github.com/zhaoyang1214/phalcon-view-smarty-engine)[ Packagist](https://packagist.org/packages/phalcon-framwork/view-engine)[ RSS](/packages/phalcon-framwork-view-engine/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

phalcon view smarty模板引擎适配器
--------------------------

[](#phalcon-view-smarty模板引擎适配器)

#### 安装

[](#安装)

```
composer require phalcon-framwork/view-engine

```

###### 使用

[](#使用)

```
use PhalconViewEngine\Smarty as ViewEngineSmarty;

// 视图配置
/* 'engines' => [
        '.volt' => 'viewEngineVolt',
        '.phtml' => 'viewEnginePhp',
        '.html' => 'viewEngineSmarty'
    ] */

$di->setShared('viewEngineSmarty', function (View $view, DI $di) {
	// 获取配置
    $smartyConfig = $this->getConfig()->services->view_engine_smarty->toArray();
    $viewEngineSmarty = new ViewEngineSmarty($view, $di);
    // 设置配置
    $viewEngineSmarty->setOptions($smartyConfig);
    return $viewEngineSmarty;
});
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2713d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22496108?v=4)[赵阳](/maintainers/zhaoyang1214)[@zhaoyang1214](https://github.com/zhaoyang1214)

---

Top Contributors

[![zhaoyang1214](https://avatars.githubusercontent.com/u/22496108?v=4)](https://github.com/zhaoyang1214 "zhaoyang1214 (1 commits)")

---

Tags

phalcon-view-engine-smarty

### Embed Badge

![Health badge](/badges/phalcon-framwork-view-engine/health.svg)

```
[![Health](https://phpackages.com/badges/phalcon-framwork-view-engine/health.svg)](https://phpackages.com/packages/phalcon-framwork-view-engine)
```

###  Alternatives

[modx/revolution

MODX Revolution is a Content Management System

1.4k9.1k12](/packages/modx-revolution)[ytake/laravel-smarty

Smarty template engine for Laravel and Lumen

87401.6k](/packages/ytake-laravel-smarty)[noiselabs/smarty-bundle

This Symfony bundle provides integration for the Smarty3 template engine.

53194.4k1](/packages/noiselabs-smarty-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
